Hunting for deprecated stuff

Commented out a bunch of deprecated functions – let’s see what breaks!

Updated deprecated function calls in categorize.php.

Rethink of page ordering in page fields – now an option selector
instead of number field.