gdev: add the prototype installation with cmake
gdev: fix cmake bug
Move gmonitor from util/ to tools/gmonitor/

After that, we're planning to use util directory for utility
functions.
Use gdev_io_memcpy instead of using memcpy directly

Since memcpy may use SSE code, it's not appropriate for IO memory
Module loader lookups functions by section's name

Since CUDA 5.0~ compilers don't guarantee that .nv.XXX appears orderly.
So we should lookup actual function by using XXX name.
Revert "Use gdev_io_memcpy instead of using memcpy directly"

This reverts commit dc5b1ea8381537199e374b678f3da9a7963810f0.
Introduce util directory to share utility functions

Some functions such as MALLOC, FREE etc. are used, but
definitions are scattered. We introduce util directory to share
utility functions.
Check GCC version to switch c++0x or c++11

Since -std=c++11 option is supported by gcc 4.7 or later,
we should check it and switch c++0x if gcc version is less than 4.7.
For instance, Ubuntu 12.04 (LTS) gcc version is still 4.6.
Compile util/*.c in all modules

Now we can share C files in util directory
Implement STRDUP

To use strdup function in kernel space, we implement STRDUP and
use it in gdev_cuda.c.
Fix installation destination directory

Install libucuda to gdev/lib and cudump to gdev/bin.
Fix typo: lib_lib to link_lib

libdrm & libdrm_nouveau is needed.
Append LIBS to the end of build command line

Since some versions of GCC requires libraries are appended to the
end of build command line. For instance, GCC in Ubuntu 12.04 (LTS)
requires it.
Use gdev_io_memcpy instead of using functions defined respectively

We define gdev_io_memcpy as utility function and use it for memcpy
on MMIO memory.