Slightly better examples testing

Build the Swift examples from the release package now that we don't require building from source for Swift, run the JSONImport example during release packaging and in `verify` (since it's the only non-GUI example), and fix a bug that made the JSONImport example not actually work.
With the `stringByDeletingLastPathComponent` part it just creates the Application Support directory (which *hopefully* already exists) rather than the subdirectory for the application.