Added injectJs action, test, and updated readme.
Added injectJs action, test, and updated readme.
Updated to use fn(note) style. Removed bad test.
Merge branch 'injectJs' of github.com:johntitus/nightmare into injectJs

Conflicts:
	lib/actions.js
	test/index.js
Changed .injectJs to .inject. Supports javascript or css files. requires the first param to be either 'js' or 'css'.
formatting fixes and variable renaming
added forward
added test for forward
added a on() action, to handle phantom events.
Merge pull request #41 from segmentio/add/forward

Add/forward
reject non-css/js files from inject. Updated documentation. Added rejection test
Fixed Readme to use markdown list elements instead of html. In actions, passed the callback directly instead of wrapping it.
Fixed formatting in readme
Expanding on usage/installation/debug
expanded debug example
added link to phantom js homepage
included link to install node.js
added section on how to run automated tests
added link to Mocha and Should.
Merge pull request #34 from johntitus/injectJs

Added injectJs action so users can inject a local javascript file (like jQuery) into the page and use it. Added a test, and updated the readme.