1. Fix for self-defined error-pages for 403,404 and 500.
2. Add user preference mechanism, update the related test cases.
Merge branch 'master' of https://github.com/hywang1985/Pandora.git