Remove debug code.
Fix protocol subform in project settings.

- Revert #54a98e1 (this fixed the global protocol settings but broke the project-specific settings).
- Add missing html_safe.
Merge pull request #4 from finnlabs/feature/rails3-bugfixes

Feature/rails3 bugfixes