add check to see if user has rights to view this monitor
better fix for the view=console security flaw.

This does it in index.php,so it guards all pages, and also just changes the view to login, so instead of giving an error, it presents you with the login, which I think is better.
This replaces Module::Load with Module::Load::Conditional which can actually handle errors.
Then I move the module load call up before the fork so that any errors will be visible and will make zmcontrol.pl die quickly instead of waiting 11 seconds for something that will never happen.
Offer login instead of error

When a user accesses a view but receives an error, and is not logged
on, he is offered a login prompt instead.  The login prompt saves the
original query URL in a hidden field, and postlogin redirects back to
the original URL once the user has logged on.

If the user is logged in and there is an error, no login prompt is
shown.

This allows the user to click an event link in an e-mail and then log
in before being shown the event, instead of requiring going back
through the front ZM page to log in.
postlogin.js replaced by postlogin.js.php
Fixed autotools build to reflect file name change

postlogin.js -> postlolgin.js.php
Merge pull request #631 from ZoneMinder/fix_security_on_watch

add check to see if user has rights to view this monitor
Merge pull request #635 from ZoneMinder/zmcontrol_improvements

Improve zmcontrol.pl
Merge pull request #632 from ZoneMinder/better_security

better fix for the view=console security flaw.
Merge pull request #640 from jrd288/offer_login

Offer login prompt instead of throwing error
bump release #
update to what has been done in debian
libjpeg updates to match debian
this is in debian
the debian packaging has this, and apparently we need it to build
fix a bare ZM_PATH_BIN which should be $Config{ZM_PATH_BIN}
format duration into HH:MM:SS
Do not repeat admin password question if already answered
Set the right filename for the systemd service and don't call zmupdate interactively
Fix package dependencies