Turn the RTD bar red if version is no longer active.
Pass API_HOST into our JS.

This allows us to make sure our dev server is hitting the proper API, like our builds.
Simplify logic.
Fix JS to not leak global
Merge pull request #616 from rtfd/notify-old-docs

Turn the RTD bar red if version is no longer active.