Fixed bug that didn't allow dots and single quotes in page name

http://jira.xwiki.org/browse/ADMINTOOL-1
http://jira.xwiki.org/browse/ADMINTOOL-6