Update base-test.html to not use compiled JavaScript.  This makes it more useful for manual testing during development.
Fix a syntax error in BehaviorManager.
Change the Component API.

This also updates the Component and Entity tests to match the new
API and improves the readability of the Entity tests.
Merge pull request #10 from vorporeal/improve-components

Improvements to core code.