Rewrite usercp.js and update typeahead.js

As a part of the jQuery conversion, this commit updates usercp.js and the relevant inline JS to jQuery.

Additionally, jGrowl is now used for buddy notifications and Typeahead.js has been updated to 0.9.3.
Fix bug with theme not being loaded on xmlhttp.php