Permissions and settings bug

Wrong permissions setup disabled some users from logging into Moodle.
Enabled settings in block.
Version update

Version updated to 1.1
Merge branch 'dev'

Conflicts:
	version.php