fixed using nil base product when registration failed (bnc#873683)

- register the base product again if it failed
- 3.1.35
do not use trailing condition for a too long line
Merge pull request #48 from yast/base_product_failure_fix

fixed using nil base product when registration failed (bnc#873683)
check the libzypp lock at start (bnc#873882)

do not continue if libzypp is already locked by another application
Merge pull request #49 from yast/check_zypp_lock

Check the libzypp lock at start (bnc#873882)
check the base product at start to avoid problems later
Merge pull request #50 from yast/check_base_product

check the base product at start to avoid problems later
return :abort when zypp init fails, fixed test
Merge pull request #51 from yast/test_fix

return :abort when zypp init fails, fixed test
require all files to report correct code coverage percentage in tests
use suse-connect gem instead of scc_api
added "suse-connect" gem to Gemfile

to use at Travis builds
load yast stubs at Travis
removed global require from spec_helper - does not work at Travis
pass release_type product attribute (bnc#873194)
share creating the default suse-connect options
cleanup - add_product_services() is used just once
added test/registration_spec.rb
pass distro_target to suse-connect
distro_target is actually a libzypp Product property