properties again (after accidental code loss due to unfamiliarity with git: git makes complicated things possible but the easy things are not simple enough.)
more document properties and renaming of layer properties
add new files for Properites dialog (non functional dummy dialog)
minor style fixes.

Ran StyleCop against the project, resulting in over 10000 warnings. Made some small style fixes to the files I am changing anyway: avoid tabs use spaces instead, be slightly stricter about formatting of braces.