minor changes in the CLI
changed test infrastructure

Doctests processing split in two phases:
    1. collection of doctests from src/**/*.coffee as JSON data
    2. reading the JSON data and running the tests
a hack-ish but handy way to run tests in a browser

Type ")test" and press ctrl-enter
add downloads/apl.js for usage in web pages
merged origin/master by hand