Added page and category sorting.

Added better handling of file reading errors in raneto.js.
v0.2.0