Add model base 20141007

Add model implementation.

This is not quite a polished (i.e. with as many helper methods) as Her or ActiveResource but gets the job done. All associations are based on QueryInterface.query as are Model[id] calls (so query interface is a must to use unless you overwrite those parts.