adapt functions to configurable extension

Framework.hs:
- change isPageFile to get extension from config
- add isNotDiscussPageFile
- pathForPage must be passed extension as String

changes to functions in other modules to deal with fact that
isPageFile now returns GititServerPart Bool instead of just Bool.