Sql file corrections

https://github.com/ionize/ionize/issues/122
https://github.com/ionize/ionize/pull/123
1.0.5
Merge branch 'master' of https://github.com/ionize/ionize
Merge branch 'master' of https://github.com/ionize/ionize

Conflicts:
	install/database/database.xml