added mocha setting to jshintrc
cleaned up tests
fixed removing of test files before each test
shortcodes are now passed file and global metadata