added selection option for no parent category ("None") in edit category form

added parent field in cat_data for top level categories also
added 'level' field in cat_array; added indenting of sub categories in cat table
added sorting of cat_array (not fully implemented yet)