Better handling of forms, flashes, and the request's current user.
Added model tests and made fixtures available everywhere.