PLD: revert localhost for io host
PLD: helper for action and add url suffix only if passed
PLD: use do block for multiple actions for a tag
Merge pull request #29 from onaio/helper-for-actions

Helper for actions
RR: basic authentication wrapper
RR: WIP working on authentication check for views
PLD: move basic auth after (before) log and simplify nil check
RR: WIP basic authentication
PLD: add auth wrapper before (which means it is applied after) all the other wrappers