Merge pull request #45 from kirilldemidov/master

Permission updates
Test main method
Changes to function names. New fetchAll and fetchOne
readme update
mail sender update
Uncommented mail sending
Test action added
html escape added + minor fixes
Должности, добавление должностей
DateTime and Mailsender went to Utils + minor changes
Merge pull request #46 from dkonurov/master

/positions/ + /positions/add
fix for Model method
depadd apart
depadd apart
depadd apart2
depadd apart3
Merge pull request #49 from cherkasovas/master

departments/add
H1 headers added
Link from all users to one info
New time format with leading zeros