An import of http://code.google.com/p/jobberbase/source/checkout with full commit history and some improvements