Made it slightly easier (for me) to alter number of items per page.
Fixed usage of Location: header.

Location: cannot take a relative argument: my browser was omitting
any directory parts to the URI when redirecting (so
instead of https://portal.hpc.ic.ac.uk/devel/?action=
we got     https://portal.hpc.ic.ac.uk/?action=

Also fixed hardcoded URIs.
Added protocol configuration setting, to choose http/https.
Removed Smarty tarball.
Removed jmol and favicon.ico
Further changes to how many items per page is handled.

Still not user configurable though.
Updating to Smarty 3 revealed some warnings in templates.  Fixed.
Removed Smarty install directory.

The installer will have to provide a Smarty directory.
Deleting projects, bugfix.

Can now delete projects if they do not have undeleted jobs in them.
Bugfixes for bug that would prevent you from deleting any jobs.
Use $_SERVER["SERVER_PROTOCOL"], rather than assuming HTTP/1.0
Fixup of authentication methods.

Fixed typo in comment and removed debugging function.
Made error reporting work for db functions.
Tidied configuration2.php, used default values.
Bugfix in modify pool acl
Removed unneeded files.
Revert "Fixup of authentication methods."

This reverts commit 99b51395899320152e077b0f02f86875833daa7f.

Because that's not a debug function, that's the password
checking function!  The comment does need fixing, will do in next
commit.
Fixed incorrect comment.
Moved ORCID column to profile table, fixed some related things.