re-factored plugin

hardened reference handling
hardened relative path handling
updated formatting and code-style
added variables as options
switched test to grunt-mocha-test & mocha-unfunk-reporter
added travis, bumped node to 0.10.0