Fixed error with files.
An empty file in $_FILES (i.e. with UPLOAD_ERR_NO_FILE error) would cause an error.
Try-catched file cache store entry deletion.
Sometimes the file that is going to be deleted is already deleted, and unlink would trigger an error.
Fixed error in AR\Base::updateAttributes().
Changed error handling upon save.
If an error occured in AR\Base when saving a model, the whole array would be added to the errors object of the model, instead of only adding the message of the error.
This would cause an error when trying to implode the error messages with fullMessages(). Furthermore, storing database errors in the model could be dangerous as they could be shown to the users.
Now if an error occurs, it's ignored, because AR\Connection already logs them as warnings.
Fixed error.
Fixed error with updateAttributes.
Merge pull request #5 from myimouto/master

Merge MyImouto fork