Temp fix for issue with userroles sometimes giving an error.
Merge pull request #238 from nZEDb/master

Update.
fixed nginx rewrite to https
Merge pull request #239 from nZEDb/master

Update. Thought I was on dev branch.
Add in checks to see if it already got a name, add some new generic functions to speed it up.
Merge pull request #240 from nZEDb/dev

Update.