Error checking for missing patterns

PatternRepository now raises a KeyError when it finds a pettern that is
not in the pattern dictionary.
Merge pull request #2 from Hexadite/compile_error

Error checking for missing patterns