Fix for issue #38: Use FormatMessageA instead of FormatMessage

FormatMessage might be #defined to be FormatMessageW in case
UNICODE is #defined, expliciting calling the ascii version
of the function corrects this in all cases
Merge pull request #39 from alanxz/issue38_socket_formatmessage

Fix for issue #38: Use FormatMessageA instead of FormatMessage
Set CMAKE_C_FLAGS appropritatly for a compiler

- Test to make sure we set flags only for GCC
- Only set -fvisibility=hidden for gcc 4.0 and above
Merge pull request #42 from alanxz/issue41_gcc3x_visibility

Set CMAKE_C_FLAGS appropritatly for a compiler
- Updated debian package files to build successfully with cmake
- Updated package version to 0.2.0
- Changed package name to librabbitmq0 to match upstream Debian/Ubuntu
  naming
Merge pull request #46 from davewongillies/master

Debian package fixes for issue #32
Correctly set-up SONAME for shared library versioning

We're starting with CURRENT=1 because CMake on OSX sets
CURRENT=0 which is a wildcard, which isn't what we want.
Merge pull request #52 from alanxz/versioning

Correctly set-up SONAME for shared library versioning
Make inttypes.h available when compiling for msvc

Test programs require inttypes.h which MSVC doesn't supply
at any version (stdint.h is supplied at 1600+). Make it
available in these situations
Merge pull request #53 from alanxz/msvc_test_include_fix

Make inttypes.h available when compiling for msvc
Update debian/control

Fixed incorrect Depends: line for librabbitmq-dev
Merge pull request #56 from davewongillies/master

Fixed incorrect Depends line for librabbitmq-dev
Python 3.x support in codegen.py (via 2to3)

  Changes to librabbitmq/codegen.py to support Python3
  Upstream changes to rabbitmq-codegen/amqp_codegen.py
   to support Python3
CMake build support for building with Python3
Correct sys/types.h sys/socket.h include order on *BSD

sys/types.h must be included before sys/socket.h on certain older
BSD variants
Merge pull request #58 from alanxz/issue40_socket_include_order

Correct sys/types.h sys/socket.h include order on *BSD
Adding autotools support for Python3 codegen
Merge pull request #48 from alanxz/issue47_python3_support

Issue47 python3 support
New example: amqp_rpc_sendstring_client. The client sends a plain text message to a queue and expects to receive a reply to a private reply_to queue.
Makefile.am: Support building in a separate build dir & static linking

Building rabbitmq-c involves building sources too, which are then to
be used by other parts of the code. These built sources end up being
placed under the build directory, not the source. For this reason,
lets update the Makefile.am, so that AM_CFLAGS includes both
$(top_srcdir)/librabbitmq and $(top_builddir)/librabbitmq. Then,
everything that sets any kind of CFLAGS, also has to be updated to
include $(AM_CFLAGS), as to not override it.

While there, also shuffle around a few LDADDs, because with static
linking, librabbitmq.la needs to come last, so that the symbols
tools/libcommon.la uses from it will be found by the linker.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>