Stricter error reporting. Because we want to be perfect, y'know :)

git-svn-id: http://yourls.googlecode.com/svn@850 12232710-3e20-11de-b438-597f59cd7555
More portable stricter error reporting.

git-svn-id: http://yourls.googlecode.com/svn@851 12232710-3e20-11de-b438-597f59cd7555
Fix link sorting & paging. Fixes issue 1286.

git-svn-id: http://yourls.googlecode.com/svn@852 12232710-3e20-11de-b438-597f59cd7555