Makes briteJS compatible with AMD and CommonJS

- Also adds a component.json file. This follows the pattern of the
  [Component framework](https://github.com/component/component).