Initial actions support.
Removed debug stuff.
More action functionality.
Only use query if present.
Merge branch 'actions'
Hide push on browsers that don't support it.