Rewrite Moderator Options Javascript
Convert upgrade scripts to jQuery
Fix multiquote button

In 1.6:

```
$('multiquote_link_{$post['pid']}').style.display = '';
```

In 1.8:

```
$('#multiquote_link_{$post['pid']}').css("display", "none");
```

It looks like someone saw '' and thought "none".
Only use $.modal if it's defined

In some cases, such as in the installer, we don't include the modals and errors occur.