Simpler entry of locally discovered nodes

This involved 3 commits, but each is dependent on the one before so I thought it worth combining them into a single pull request.

Worth mentioning a change to "discovery.All()" function. A grep showed it was only used by the rest API, which always failed because the return value could not be converted to JSON. It emitted some types exclusively made up of private members (cacheEntry). I thought there was more downside in exposing the internally used bytes compared with re-packinging the data as strings, which would have resulted in a second stage of convertion in the web API function anyway.

Use of a datalist in the GUI was chosen as it doesn't alter the design of the interface, although there is no support for a datalist in Windows Mobile or Safari, so this might need improving at some point, nevertheless I hope it's worth including as it stands for now.

PS: This is my first commit pull request on github ever.
http://blog.golang.org/json-and-go#Endcoding says: "JSON objects only support strings as keys; to encode a Go map type it must be of the form map[string]T (where T is any Go type supported by the json package)." So it seems it will need transforming to map[string][]cacheEntry prior to marshalling. Although I'm still unconvinced we need to marshal more than an array of ids as strings from the rest method. Marshalling the cache entry details can be kicked down the road for my purposes.