Packaging: Make deb/rpm build depend on cmake; remove autotools deps

Change-Id: Iaa838e42ab90ed3c396024415280f7c00c7c7c96
Reviewed-on: http://review.couchbase.org/43500
Reviewed-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>