Additional Moodle 2.4 Compliance

Compliance with Moodle 2.4 recommendations:
1. My Add Instance support
2. Remove calls to print_header and print_footer
3. Replace calls to get_context_instance
4. Append panopto_ prefix to Javascript function names
5. Use LF line endings