Updated several components

Integrated Jquery form-repeater to replace old Prototype implementation
Rewrote and added various core functions
Changed error handling for authentication