automake cleanup: adding vta support to configure

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: renamed inttypes.h

- In "includes", inttypes.h was cluttering the system's one. This caused
  random build errors on some systems/in some conditions. Renaming it.
- Add emergency defs of PRI*64 headers when int_types.h does not define
  them (which, unfortunately, can happen on some systems).

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving hobject from os to common

This file is used by libcommon, so lets put it in src/common instead of
src/os.

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving code away from include to common

Includes should only be includes. Moving C code to libcommon.

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving tests to test subdir

This are tests and should be in the src/test subdir.

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving misc tools to tools subdir

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving rados tool to tools subdir

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: renaming buildtest

The previous name could cause confusion (it's not only used to test
build libcommon anymore).

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
Merge pull request #575 from roaldvanloon/wip-automake-prepare

Wip automake prepare

Reviewed-by: Sage Weil <sage@inktank.com>