Flatten the directory structure

Using multiple directories is nice for a large project, but
given the limited number of files and the tight coupling
with all of the files keeping them in the same directory
makes it a lot easier to use tools like grep to find
usages.

Change-Id: I5855e5bed7e8cd6194576238abedbfc98950aa59
Reviewed-on: http://review.couchbase.org/27789
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Run make reformat on the source

make the source look uniform again...

Change-Id: Ieb6ebcbac87c07bfa49b5806b5817dd58647eb86
Reviewed-on: http://review.couchbase.org/27795
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Fix warnings from visual c compiler

Change-Id: I9919df4b0989599a9e2f7f0c5206d5db00b861c6