Fixes the exception message and extracts common strings for the plugins
Merge pull request #28 from novoda/extract_constants

Fixes the exception message and extracts common strings for the plugins