Rewrite staticBrowserREST to be more DRY

... by constructing the calls to obtain.factory.

This includes work of @rrthomas and @graphicore
Merge pull request #40 from graphicore/rewrite-io-static-browser-rest

Rewrite io static browser rest