Makes briteJS compatible with AMD and CommonJS patterns

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