Implemented more robust version of application helper function "link_to_submit".
Merge branch 'master' of https://github.com/PecanProject/bety into local master branch.