Skeleton of new refactored validation function
Adding syntactic validation for system->variables
Merge branch 'semantic-validation' of github.com:QScience/Patterns into semantic-validation