Added require API
Updated test to use require API
Updated dist JS
Updated readme, use require API to counteract commonjs pitfalls
Version bump (Release 0.8.6)