renamed state method in Model as get_state. Fixed small bug in load_related when a related model has no fields