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
removing confusing notification
removing recursive from cte in availability query
Using bower as per #91
add debug output to validator
this fixes #182
Attempting to handle nothing left to do
Removing Flask-Mail
fix challenge complete email logic, and notifying users when challenge / task cannot be found
Fixing typo in function ChallengeComplete function
do not abort with a 400 bad request when the challenge exists

Instead, we should be updating the challenge. to be implemented. for
now, return empty message.
adding update cascade to foreign keys
Merge branch 'develop' of github.com:osmlab/maproulette into develop

* 'develop' of github.com:osmlab/maproulette:
  Fixing typo in function ChallengeComplete function

Conflicts:
	maproulette/static/js/maproulette.js
Replacing BSD with Apache license, after getting all contributors to agree by email. Addresses #155
repairing the model so that we have a proper relationship between task and challenge (requires migration)
pep8ifying
Merge branch 'develop' of github.com:osmlab/maproulette into develop

* 'develop' of github.com:osmlab/maproulette:
  Replacing BSD with Apache license, after getting all contributors to agree by email. Addresses #155