Update Logger test

The test now uses static variables instead of exceptions. This makes it
possible to test the return types.
Fix File::upload & File::uploads
Introduced Active Record Pattern
Release 3.2.0