Feature/deploy pure entities

CLI and REST api now allow you to create any entity, rather than just an app (or ApplicationBuilder)

- If given an entity, wrap it in an application automatically
- If given ApplicationBuilder, then build the app
- If given Application interface, then create entity with it (assumes has \@ImplementedBy)
- If given Application class, then create it

Plus some other minor fixes.