Share handler code for browseStyle/browseSource.
Merge branch 'master' into mapnik-omnivore