In the python sdk: add create_application. Move the _httprequest code
to Entity, where it's reusable for all entities.