documentation: fix typos
formatting all files with Netbeans 8.0 Java formatter in standard settings
changed question category structure (now directly available as tree), implemented corresponding database interaction