(maint) Bootstrapify PuppetDB Dashboard

Prior to this commit, the puppetdb stats dashboard just showed the
statistics. This commit makes it so that the dashboard contains some
bootstrapy things, along with a link to the query dashboard. It also
moves around some of the code to make it more html/web dev friendly.