test(defining): create tests for defining relations
feat(defining): allow relations to be defined
test(all): fix tests to work with store system
fix(relations): use a store system instead of directly referencing classes
chore(testing): setup mocha-phantomjs for headless testing
chore(gulpfile.js): allow gulp to be used as well