Snippet to Json conversion

Add static method to Snippet to convert it to a QJsonObject.
Load/Save user-defined snippets (#81)

Add support for loading & saving user-defined snippets in a JSON file.