Proxy check

Syncing features with the production server.
Use inserted_primary_key to support sqlalchemy 0.8+
Fix the development server when running with ipython

I have no idea why i run stuff through ipython.

Also cleaned up the code a bit. The fix itself is the "os.path.basename"
python wakarimasen.py reset_password <username>
reports: Fix view post link
Fix ban editing adding text entries to the table...

Derp.