Refactoring

Incorporates other pull requests:
https://github.com/opentechinstitute/luci-commotion-apps/pull/24
https://github.com/opentechinstitute/commotion-feed/pull/25
https://github.com/opentechinstitute/commotion-openwrt/pull/65

To test:
Build OpenWRT on two nodes and ensure app advertising between them still works, and between one of them and a stock DR2 node.

<!---
@huboard:{"order":3.0}
-->