Add Debug2 and fix bug in HaarFeature

patch_mean was never set, this caused a bug in type III feature
Add EnvironmentConstants to .gitignore
Add Debug2_5, performs sanity check on p10 in manual