Add debug information to object files

Change-Id: I11cfaea94358a4ed26470bccd6689768e790ff64
Reviewed-on: http://review.couchbase.org/29263
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Try to build libevent as well (TEST)

Change-Id: Id0f8d57f77181eafb98fc73cd1da84a14c2756bd
foo

Change-Id: I2c1fc4b78ccfc1a7d26d93fa5577577171e583e4
Try to build deps in a separate dir

Change-Id: I1aafa1aa55c20aa35c6eb43f7fe36bf72ad0debe