adding current action to task marshal

we use this in determining whether to show a notification is a task is
loaded from a permalink and the task is no longer available.
permalink implementation, fixes #138

and minor javascript cleanup
Merge branch 'hotfixes-140318' into develop

* hotfixes-140318:
  permalink implementation, fixes #138
  adding current action to task marshal
added one more warning

permalink to an assigned or editing task gets a notification too