Remove depreciation warnings while running tests.

Removes I18n, rspec and guard depreciation warnings. Add `cmd` option to rspec guard.