add advanced settings editor in settings menu

this is preliminary code for an advanced settings editor. Here is a screenshot of the UI

![settings1](https://f.cloud.github.com/assets/1018556/1088775/a4ba5b94-1638-11e3-94ad-c9ead25704eb.jpg)