More db fixes. Mail-only mode is now supported. Several cosmetic fixes and other bugfixes have also been added. Basic authentication now works again. Removed timesheet app, as it will be better off on it's own.
Some attachment fixes.
New functions for session management, etc. Basic list-type editing is generically done by a listing feature and an editing feature. Implemnted Craig's idea of a good default page. Fixed endmsg bugs. Fixed folder bug.