Safely removing 'index.html' from relative urls

Fixes to #16

Added the PyQuery dependency.  Required for safely replacing the urls on each of the generated pages.