Admin UI follow up.

This adds permissions. Also adds other semi-useless niceties.

![modules restful 2014-11-23 09-22-29](https://cloud.githubusercontent.com/assets/1140906/5157058/86286096-72f2-11e4-97ad-2677b023ab05.png)