Add Scripting.Dictionary branching

Use compiler statements to use Scripting.Dictionary internally if
available (improves Windows performance by ~3x)
Fix skipped error in GetKeyValue
Merge pull request #3 from timhall/compiler-branching

Add Scripting.Dictionary branching