Add get_fields method to orm.Entity

Also add orm.is_model helper function. `get_fields` will easy the inspection of entity fields