fixed an issue where grunt.file.isDir was used incorrectly to assume path as directory
added support for usePartials to be a string path
added support for options.data as external JSON files
fixed several test cases
added new tests