Javascript license support

Address comments from ftp-master on the javascript sources:
 Fix the licence version for the sshfs mount script for inclusion
 into Debian.
 Move the javascript sources to be alongside the minified js
 files for direct verification.
 Rename shCore.js to show that it is the minified version.

Change-Id: I8a831da620a022e1d817da82a64c7e738871655d
(cherry picked from commit 387bb5fac659a6cff3d07640573c6f77ad25021c)
Update docs for dispatcher actions

Also fix search page by using rstrip() on version string
Fix indentation in worker list of lava_scheduler.rst

Change-Id: I80036b1ff17d0a15e401bc8c19ec5238698be9fb
(cherry picked from commit 49ef0bed5dce4c292d5ba875122ddac643b3439c)
Remove mention of /srv/lava/ in docs

Change-Id: I991a212cc288c16ba88c48e20c69704cded4ccab
(cherry picked from commit ec5f9d953691673a4b9b9b7e1a53ec9572e77e10)
Update docs after feedback

Change-Id: I32dccacc4acc5209614d69e5c1d99522594426d0
(cherry picked from commit f1898f9166513e78aaa4bf4eee5988494dc4a441)
Fix bug 125.

https://bugs.linaro.org/show_bug.cgi?id=125

Create token before running the job only if the submitter doesn't already have one.

Change-Id: Ieb3f0fdb8f6aef9b3ea1e8786e4d630124d8c59b
(cherry picked from commit 1fc9129f34aae81cc123f8f9a840319a8ef670a2)
Don't sort recents jobs by duration (fix #209)

Sorting by duration is not supported and leads to an exception.

Change-Id: Idd7ce71bba936e5be4e2a0d939461424444d08ad
(cherry picked from commit cc2e9093c51fc8ee1593a2061d4933e2d09a31a3)
full log: raise a 404 if the log does not exists

It can happens if the user enter manually the url while the log file does not
exists. This fix bug #208.

Change-Id: I83562cc0f98266e3fac7c6c33b86f2fd7e2388d6
(cherry picked from commit 0f8809812d0ffadd49c4e0d554ad0802435b9434)