use config.protocol instead of hardcoded http
Merge pull request #721 from manuelvanrijn/use-protocol-for-problem-url

Use config.protocol instead of hardcoded http
add test to ruby v2.1

since ruby head is 2.2dev is important keep that version here
Merge pull request #722 from lucianosousa/patch-1

add test to ruby v2.1