Fix #471
Update dev-manual

This should fix #468
Refactoring
Reindent (no other changes)
Add a 'tags' field in OPAM files.

This should help resolving part of #483
Add (very basic) man pages for opam-mk-repo and opam-check

This should fix #432
Update to latest version of ocp-build

https://github.com/OCamlPro/typerex/commit/aa9b6c733104df6c0b6fc7f1551d4dadeb26744b

Fix #484
Fix copy/paste error (thx to @dbuenzli)
The new ocp-build works well on cygwin, so OPAM will compile fine there.
Add missing file to boostrap with ocp-build (regression introduced in 11adfc626c09f770e6e45c006f6d7adb339b28f9)

Fix #487
Make 'opam config var switch' print the current switch

This can be useful when substituting variables in .opam files.
Fix #360

OPAM now fails if curl returns an error (it should already work properly when using wget).

It will also help fixing #452 and #467
Add more logging to help debugging #479
Fix #467

Now both curl and wget tries to download 10 time an archive before giving up.

(and remove a wrong debug statement ...)
First step towards a better handling of root packages (#470)

So now:

    'opam install <pkg>'

add <pkg> to the list of root packages even if <pkg> is already installed.
Fix auto-detection of repository kind when using <git/repo/>#commit

The is related to #488
Fix #488

It is now possible to add a given branch of a remote repository

    opam repository add genet-dev http://github.com/zoggy/opam-repository.git#genet
Fix #470

Add an option to enable --autoremove when removing packages (by default it's off). You can also enable it by setting OPAMAUTOREMOVE.

The semantics is the following:

* `opam remove <pkg>` will simply remove the package
* `opam remove <pkg> -a` will remove the package and its dependencies
* `opam remove -a` will remove all the packages which have not been explicitely installed

(note: you can do `opam install <pkg>` to an already installed package to make it become a 'root' package which will not be uninstalled using `-a`).
Update CHANGES
let `make distclean` work idempotently

The `Makefile.config` include can be conditional.