Add browser.hasFeature (and tests for browser features)

See #651.  To run the new features tests only, try:

    ./node_modules/.bin/mocha --grep 'Browser features'