Comments and bugfixes in dir and image methods

Added comments and examples everywhere it was needed.
Fixed the functions move.
Fixed the functions crop.
Fixed the functions flip.
Fixed the functions resize.
Fixed the functions rotate.
Merge pull request #4 from mirkoargentino/master

Comments and bugfixes in dir and image methods