Use PDO and fix lots of bugs
New function: Locked title

Other minor changes:
1. count non-ascii as two chars long in alternate.php
2. remove 'times' and restart_banned from alternate.php
3. Fix a typo
4. Remove post id in output of post.php