Several documentation and tool improvements from patch by Filipe Correia
added more info on custom database implementations
update hgignore