fix browser detection

browserify exposes a __dirname variable
explicitly load browser modules
add serve
browser test file
add server running instructions
spaces
run with browserify
fix browserify build
optimise makefile
use html formatter
add component tests back in with conditional
Merge pull request #12 from hydrojs/browser-tests

run tests with a browserified build