Code Documentation and Unit Tests

More EmberAPI classes have been modified to:
* Add method documentation 
* Add some parameter validation
* Correct errors discovered in unit tests

Unit tests have been added for numerous classes. Many more to go.