Fix stop/start labels logic on relative time

Use logic for possible start/stop values, including when changing
between time types
Merge branch 'oracledata' into ui
Decode everything, split separators if present
use metric ID for horizon chart building
Force strip of html from javascript error messages

Without this, errors from things like sinatra simple_endpoint return
images, and html. this is not as good as you think it might be.
Make dropdowns match button width, unless required

`display:flex` on btn-group allows no-break (Chrome)
min-width:0, left:0 makes dropdown menu match parent button.
Calendar widgets should display below associated timefield

So force orientation left
Merge pull request #27 from anchor/ui

Merge UI Changes