updated the ORM layer.
Updated the lang library, which i'll remove eventually but for now it's still neccesary.
Applied deferreds and promises in API and modal related methods.
Applied deferreds and promises to ABMs.
Added a mechanic to setup_fields to remove empty field_rows, and some other minor fixes.