Fixed an awful memory leak.
Added war file.
Major memory leak fixed. Changed a part of the schema.

- Fixed a major memory leak in the connection management (only when authentication is not succesful).
- Fixed a translation issue on the `pagination` plugin tag.
- Changed database schema for a function which didn't work on PostgreSQL 8.4.
- Updated deploy guide and documentation.