Add Rake task wrapper to run Mocha/PhantomJS tests

Task #5331

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Configure Travis to execute Mocha/PhantomJS tests

Task #5331

Signed-off-by: Alex Coles <alex@alexbcoles.com>