Choose solver criteria depending on the action

This resolves the problem of unrelated packages installed on 'opam install'
by minimising the changes except on 'opam upgrade'. You may now specify
OPAMUPGRADECRITERIA. OPAMCRITERIA and --criteria still change the criteria
for all actions.
Merge pull request #1364 from OCamlPro/upgrade-criteria

Choose solver criteria depending on the action
Simpler build using OCamlMakefile
Fix travis scripts
Build & travis fixes
Remove prereqs from make 'install*' targets

so that it's safe to call them with 'sudo'
make: Install libs to the ocamlfind prefix rather than $(prefix)
Fixed the 'test' and 'doc' targets
better tmp dir choice