new context method: createEntityBasedOnModel

this method allows one to pass a object model, and it will try its best to decipher the appropriate table structure, and save it.