Add EntitySpecs.spec(Class)

- Use EntitySpecs.spec() instead of BasicEntitySpec.newInstance()
Merge pull request #617 from aledsage/fix/api-entity-creation

Add EntitySpecs.spec(Class)