Don't rely on bower for browserified version.

We can't rely on paths to the `bower_components` directory being where
we think they are since each project can change where bower components
get installed (even for dependencies) with .bowerrc configuration.

Rather than rely on bower at all, I used the NPM versions of
`webmaker-analytics` and `cookie`. For EventEmitter, I changed the
method calls from the implementation-specific `emitEvent` to `emit`,
which is compatible with node and the browser implementation the AMD
version uses.