Completed generalization of models testing into test_utils library; created model test files for each model (some errors due to overgeneralization in test_utils)
Moved db connection code from user module to dedicated db module
Fixed portal page to not have 100%-width links (also gets rid of scrollbar)