Changed include guard in Types.h to avoid libc collision

On certain platforms (notably Mac OS X), /usr/include/types.h uses the
include guard __TYPES_H_.  This causes problems with the Types.h include
guard here in OpenDNP3, so changing our include guard is needed.
Fixed file permissions on cpp and java sources

Some non-Unix-based systems like to make all files executable in git for
some weird reason.  This isn't good form, and source files (.h, .cpp,
.java, etc.) should be 'chmod 664'.
Merge pull request #18 from cverges/master

Changed include guard in Types.h to avoid libc collision