Allow strings as valid sizes, e.g. "50%"

By allowing isValidSize() to also accept strings we can use ImageMagick's support for specifying dimensions by percentages. All tests passing.

TODO: Possible changes to the file and directory auto-naming schemse and necessary tests.