dont allow invalid status to be set
moved core templates into nodebb core (admin, status pages, emails)
#2139
Merge branch 'master' of https://github.com/NodeBB/NodeBB
moving database mock into tests folder
updating database mock for core templates