added an interface that entities can implement
Merge pull request #376 from lsmith77/document_object_interface

[WIP] added an interface that entities can implement
added changelog entry
fixed minor error
Merge pull request #381 from lsmith77/document_object_interface

Document object interface
removed print_r in IndexTest.php and fixes spacing issue