Refactor Settings

This pull request refactors `settings/SettingsManager`.

Here is a quick overview of changes
  - Refactor: The settings and restart dialogs have been moved to a standalone module
  - UI: The settings dialog now uses a Twitter Bootstrap form instead of a <table>