Move the compiler options to separate files

Change-Id: Ib233928afa8ff308d2ff09c9106c303970ccc5e5
Reviewed-on: http://review.couchbase.org/29146
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>