Some tests and minor fixes

- Modem status fix according to specs
- Re-enabling loading ruby_xbee if it's not installed as a rubygems
- Basic tests for api mode initialization and frames