Fix calculation of ranged weapon's damage/wc/ws when sending it to client.
Update CMakeLists.txt to look for Python 3.3 and 3.4.
Fix warnings when compiling with Python 2.7.
Fix warrnings when compiling with Python 3.4.