Move loading to a seperate script

- Loading code moved to loader.js
- Refomat chat.html a bit to bring it up to date
- Make chat load once scripts are loaded
- Fix shim loader to prevent pieces of old chat remaining
Change some settings in the NetBeans project file
Rename some components

- chatRoom -> Chat
- tooltip -> Tooltip
- smilieManager -> Smilies
Allow loading when URL has a # appended
Make name completion work in middle of input
Add simple username underlining plugin
Replace smiley images with text for logs

- Add a method to Smilies to replace smiley <img> tags with the
  corresponding smiley text
- Pre-screen the raw chat data for smilies using aforementioned method
Add plugin to replace smiley images with text

- Add smiley replacement plugin
- Disable it by default
Bump version number (1.8 -> 1.9)