Optionally trim path from audience
fix to Garbage Collection

* go's prepare doesn't like ' in statements. Joy.
force "h" into accepts

* Add devices return a "has_passcode".
Replace "Unauthorized" with redirect to /
Return clientid with registration
removed defExpry from GC exec

* have to use fmt.Sprintf because go fails to grok var.
Add debug.output to dump outbound data to STDOUT
Added user reg logging

* add preliminary client update on device (re)registration
Merge pull request #139 from jrconlin/dev

Merge latest mods to dev