Implement mobile? and tablet? functions, not tested yet

Fix some bugs with the rules methods
copy over comments from the php code
Modify tests to be one example per test, rather than 1 for all

require pry for easier testing
Fix some bugs, all tests green

Disable verbose rspec
case insensitive regex matching
braces necessary
pretty test json