Punishment view, fixed 32bit systems + more

- Fixed Steam friend id's not working on 32-bit systems, thus breaking
login.
- Improved search functionality.
- Added view punishment page.
- Small code cleanups.
- Page titles.