Common JS package manager support breaks ui-router in browsers

I get the *Uncaught ReferenceError: module is not defined* exception in Chrome and Firefox. The pull request fixes this problem.

It probably would be a good idea to run tests against the combined file, but it would require a substantial amount of work as quite a few of them currently fail if you make karma to run tests against build/angular-ui-router.js.