Wrap print statements in a log function for easier mocking and add 'error'/'errorDetail' parsing for build_image
Test coverage for build.py
Import from unittest instead of unitest2 for now.
Correct behavior cross python2.7 and python3.2>= when printing.
Should mock the rpmbuild.build.log, not python2.x print function. Use unicode_literals from __future__
Add nose to dev requirements.
Using autospec=True fails under py3.4
Revert to still use kwargs encoding for specifying encoding while decoding binary line to unicode.
Mocked return values from docker socket should be bytes.
Because they get caught by try/except in main() and should end up in print/log mock.
Enable py32 and py33 explicit in tox configuration.

We should support py32 as it is default in many ditros, such as Debian etc.
Test for using internal default timeout if no timeout is provided on command line or config file.
Revert "Revert to still use kwargs encoding for specifying encoding while decoding binary line to unicode."

This reverts commit b2b2fae6e2ef9942731361f559cb605b050640cb.
Support for config file and auto reading config file from foo.spec where config is foo.dockerrpm
Merge the python2.6 fixes
Adding Travis CI
Adding Travis CI Build Status
Refactoring: Support for auto-loading .dockerrpm config file from where either --spec or --srpm file reside.

ie: /tmp/foo.{spec,srpm}, will look for /tmp/foo.dockerrpm for config values.

Now using unittest2 so assert helpers that arrived with py27 in unittest works in py26.
spec is not a valid config value, as it should always be provided as an argument with docopts.

same goes for rebuild goal and srpm.
This due to dropping --config docopt, as it complicates more config loading logic.
Make config section be 'rpmbuild' and not 'build'.

 Since it may be confused with docopt targets build and rebuild.