moved Python reqs, issues link up; added travis-ci image

Change-Id: I68015bb6c6315b6fd66bfc01491553771849262b
Reviewed-on: http://review.couchbase.org/16640
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
added unittest2 for < 2.7

We use self.assertIsInstance() and friends from the
newer 2.7 unittest package. unittest2 is essentially
a backport project:
http://pypi.python.org/pypi/unittest2
"The new features in unittest for
Python 2.7 backported to Python 2.3+."

Change-Id: I2bccfeeec9317cbc97a4a07a3a91ada1d94cc947
Reviewed-on: http://review.couchbase.org/16636
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
jumping 202 exception in cluster_connect for < Py2.5

In HTTP > 100 and < 300 status codes are not errors. However, urllib2 in
Python < 2.5 throws Exceptions as if they were. Since our code does not
do any unique handling of these positive status codes, we jump them.

Change-Id: I0ef23b3714eb89a28f0191a0aecef15912db027d
Reviewed-on: http://review.couchbase.org/16637
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
pep8 whitespace/wrap fixes; dropped raise parens

Change-Id: I307b10db4a33d2a5fa9faf71a0d3e0165e22aefa
Reviewed-on: http://review.couchbase.org/16810
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
updated .travis.yml to pull in 2.0 .deb

Change-Id: I1ef335246c9877156d637bb53a47c66a170ffdb2
Reviewed-on: http://review.couchbase.org/16811
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
added initial RestHelperTest

Change-Id: I9a784b3c3010f455cc35fe95f144a715e363c376
Reviewed-on: http://review.couchbase.org/16812
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
added ENV settings for both Couchbase debs

Change-Id: I74f9165a6ca221a29144cf5b21ed8c823170365d
Reviewed-on: http://review.couchbase.org/16813
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
ignore failing-tests branch, Travis

We will handle re-testing those at fix time.

Change-Id: I69ec979ae44cdea6128b4dd4591708fd217ce7cf
Reviewed-on: http://review.couchbase.org/16814
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
added sdk_dev@couchbase.com notifications

Change-Id: Ie4a4135c9639310b4b668ff8bd75eacfd745d787
Reviewed-on: http://review.couchbase.org/16821
Reviewed-by: Dustin Sallings <dustin@spy.net>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
added @attr()-based test selection

Using this with Travis to run tests specific to the version
of Couchbase Server they were implemented in.

NOTE: Currently all REST tests are marked for 2.0.0, but that
will be fixed to their appropriate version once Travis support
is confirmed to work

Change-Id: I8c2c14fe0205ff874103dbcf54a58fb647f344a4
Reviewed-on: http://review.couchbase.org/16815
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
test RestHelper is_cluster_healthy & vbucket_map_ready

Change-Id: I6f725b80fd70083119d303dee4fafffb8ee2ef37
Reviewed-on: http://review.couchbase.org/16822
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
test RestHelper bucket_exists

Change-Id: Id7b39dfad6f10d5791de8fb2f147b330f39cc453
Reviewed-on: http://review.couchbase.org/16823
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
test RestHelper all_nodes_replicated

Change-Id: Ica48f33b095829ff14de0d16948f47f3772aadce
Reviewed-on: http://review.couchbase.org/16824
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
renamed RestClientTest to RestConnectionTest

So it matches the actual class names >_<

Change-Id: If3cddd02dec1d967a4515ee8767d52d5bf9260b8
Reviewed-on: http://review.couchbase.org/16842
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
switched placement of Rest classes

Matches the restclient.py organization more closely

Change-Id: I74ddefd460e2da817d6ca1c857600848c1047bfd
Reviewed-on: http://review.couchbase.org/16843
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
added setup_rest_connection to consolidate

Prepping for many more tests. Woot!

Change-Id: I5a53986210c1a4bd4172cd220ffc2e60ba3ff62f
Reviewed-on: http://review.couchbase.org/16844
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
added RestConnection create_design_doc

Test passes fine, but highlights a serious API issue:
developer has to know what the couchApiBase is when
using RestConnection.

That is not something (of course) we want them to have
to know, and it was likely just overlooked when added
earlier.

Forthcoming commit(s) will fix that.

Change-Id: I5cd34d61ea0fabf8a391ec347fd4fe273efdeac1
Reviewed-on: http://review.couchbase.org/16845
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
made couchApiBase optional; we can look it up

Change-Id: I9f0af05a0b451e16f372e855db01ca5304c097c8
Reviewed-on: http://review.couchbase.org/16846
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
fixed README reference in setup.py

Change-Id: Ibb8c114e4fc953477797187944a2baf132dd66ca
Reviewed-on: http://review.couchbase.org/16953
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
pep8 tweaks in rest_client.py

Change-Id: Iee946d69438e5286b5a7f68def161dca598333b3