added 'sort_order' as parameter for categories

Added :sort_order as an import parameter for categories; updated the relevant views (import and imported) as well as the import library and validation function.
created framework for library testing (I think)