Issue #313 - TreeClassifier ImageSet compatibility added

I added support for ImageSets in the TreeClassifier. I used the same parameter "paths" but renamed it to "images". If the images parameter is a list of strings, train() assumes that it is a path list and if it's not it assumes it is an ImageSet list.
If you want to keep this feature I could further improve the rest of the classifiers with the same functionality.