Translate Cleanup

Controller:
- Removed closing PHP tag from file
- Moved check for save earlier in the edit method, since it's shorter
and redirects on success
- Removed the return from the translate section and duplicate
Template::set() statements
- Added some braces for clarity in control structures
- Simplified some ternary statements by reversing the order/removing
negation (isset() ?: vs. !isset() ?:)
Views:
- reduce need to change older themes while maintaining updated
appearance of translate views
- use table for edit page to remove need for extra script to handle
checkboxes
JS:
- Removed strict errors: anonymous function does not always return a
value (in beforeunload event) and invalid scope for function definition
(is_changed())
Helper:
- Updated file opening header for generated lang files
Library:
- Updated translate method to use $this->ci instead of defining its own
$ci variable and getting another instance.
- Formatting
- Removed closing PHP tag from end of file