Minor tweaks and bug fixes

Fixed categories not appearing on homepage, improved the auto-linking
regexp, moved the auto-link generation into the generator and out of
the Twitter importer.