Fix the broken caching on index page (closes #305)
Don't ignore lib dirs anywhere except the root
Re-add erroneously ignore and deleted files