[KNIFE-346] Fix deprecations and test on Ruby 2.0.0

http://tickets.opscode.com/browse/KNIFE-346

```text
mock => double
stub! => stub
```