fixes to Model->isPropertyModified() for lazy loading relations
closes #43: added Api->log() which uses $api['logger'] if present. Can also be set by Api->setLogger()
Model Update events are now dispatch from within the Storage->update() method to be able to pass model instances to the event