Update Authlogic gem

Update Authlogic to avoid error where we can't bootstrap Rails. We are using our own patched version for Rails <2.0 compatibility.
Use template0 for postgresql databases so that we can set the encoding correctly.
Switch to database user 'vagrant' for development and test environments.
Set content set to 100; previous figure took too long.
Set language/spam validation for content to only validate in production.
Create valid article factory.
Add status to comment factory.