Encode ruby scripts as US-ASCII so their binary strings are not UTF-8.

Ruby 2.0 will read these a UTF-8 without a magic comment on top.

By forcing US-ASCII on the script, the binary string literals are then
ASCII-8BIT which we can then access byte by byte.

More #589

Fixes test failing with invalid byte sequence like this:

```
irb(main):01:0> "\xac".force_encoding("UTF-8")[0].ord
ArgumentError: invalid byte sequence in UTF-8
```

We want to do this instead:
```
irb(main):02:0> "\xac".force_encoding("ASCII-8BIT")[0].ord
=> 172
```
Fix code broken on ruby 1.9.3

More #589

Ruby 1.8.7:

irb(main):104:0> "a"[0]
=> 97

Need to use String#ord on 1.9.3+:

irb(main):058:0> "a"[0]
=> "a"
irb(main):059:0> "a"[0].ord
=> 97
Move/rename test

More #589
Convert test/unit to spec

More #589
Move conary test so it's run with the specs automatically

More #589
Convert printed output of conary db to a spec with assertions.

More #589
Align the expected package information hash

More #589
Fix some style

More #589
Merge pull request #732 from jrafanie/fix_binary_strings_in_miqsqlite3

Fix binary strings in miqsqlite3 and move manual tests to automated CI specs