[Finishes #72359652] fix page title for custom scripts
add tests for level title
move level_title logic into levels_helper
Merge pull request #767 from code-dot-org/fix_page_title_for_custom_scripts

[Delivers #72359652] Fix page title for custom scripts