Fix build with the 10.7 and 10.8 SDKs.
Enable backwards compatibility on example app XIBs.
Let SampleDocumentApp deploy to 10.6.
Merge pull request #170 from petroules/backwards-compatibility

Fix build with the 10.7 and 10.8 SDKs.