Added sanitization for new theme creation

Fixes: https://github.com/mybb/mybb/issues/27