Minor refactor of static_serve.go functions.
Minor refactor of static_serve.go functions.

What
===
Minor refactor of static_serve.go functions by taking the one big
function and breaking it up.

Why
===
It was a little big.

leighmcculloch/static