[PSW-164] Adding verification of the schema prior to save to prevent saving a schema we can't re-open.
Merge pull request #122 from mkambol/psw164

[PSW-164] Adding verification of the schema prior to save to prevent sav...