removed hardcoded exception strings from classes

RuntimeException now contains string constants for similar descriptions
added php requirement to composer.json