Add support for regression testing and building using gruntjs

because books are big and A/B testing is a Good Thing™ ; )