This function returns the correct thumbnail object, augmented with any appropriate plugins.
It does so by doing the following:
- Getting an instance of PhpThumb
- Loading plugins
- Validating the default implemenation
- Returning the desired default implementation if possible
- Returning the GD implemenation if the default isn't available
- Throwing an exception if no required libraries are present