use Guard::Compat and update to RSpec 3.1

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.