Add continuous integration script
Add mercurial settings to enable CI