adding requirejs plugin integration tests.
minor improvements on plugin as well as some short docs.