Merge pull request #529 from aledsage/fix/for-stackato-example

Fixes required for stackato example
Fix EntityType.name to not say "Impl"

- Previously used entity's getClass().getCanonicalName(), so
  the EntityType.name frequently included Impl.
- Now uses EntityTypeRegistry.getEntityTypeOf to reverse-lookup
  which interface the entity is for.
EntityType.name: incorporate review comments