JCBC-579: Custom equals() methods for DesignDocument and DefaultView

Motivation
----------
Comparisons are often needed during unit tests or if someone wants to
publish views in an automated manner upfront. Without those custom equals
its very cumbersome to verify equality on all possible fields.

Modifications
-------------
Custom equals methods added based on the properties of the objects, allowing
for a simple DesignDocument.equals(DesignDocument).

Result
------
Equality checks on all possible fields are now very easy.

Change-Id: I5206ba13f94d62601e61da72e6a50f34e64347ca
Reviewed-on: http://review.couchbase.org/42072
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>