Adding tests and new options

Added shallow, directory handling, and glob support
Ensuring file priority, adjusting extension behavior
Adjusting extensions to deal with directories
Compiling
Making sure we don't clobber results
Compilation
Fixing tests to take into account more options
Refactoring tests
Adjusting compiled files
Merge pull request #1 from jnwng/jw/adding-options

Merging branch to master