Cosmetic changes to ctypes_declarations.py

- import only a few items from `ctypes`
- rearrange the consistent ordering of `restype` followed by `argtypes`

Also, stop email notifications from TravisCI
Use GEOS version instead of CAPI version (#65)

See https://github.com/Toblerity/Shapely/issues/65

Parts of object names in geos.py and impl.py have been renamed:
 - `14` -> `300` for `3.0.0-CAPI-1.4.1`
 - `15` -> `310` for `3.1.0-CAPI-1.5.0`
 - `16` -> `311` for `3.1.1-CAPI-1.6.0`
 - `16LR` -> `320` for `3.2.0-CAPI-1.6.0`
 - `17` -> `330` for `3.3.0-CAPI-1.7.0`

`shapely.geos` has three version-related members:
 - `geos_version_string`, restored to prior versions of Shapely (still
   present in manual); this version string found in in geos_c.h and
   in other programs like PostGIS
 - `geos_version`, (major, minor, release) version tuple for GEOS library
 - `geos_capi_version`, former version tuple to determine GEOS library
   capabilities; example use of this member was removed from manual, as
   its use should be discouraged.

`geos_c_version` was an alias for `geos_capi_version`, but was removed.
Reorganize existing GEOS functions in ctypes_declarations.py

 - Add section headers from geos_c.h, and move functions to nearest
   position, and nest capabilities from each GEOS version in `if` blocks
 - No functions add (yet), only re-arranged order and verified GEOS version
 - Remove reference in LGEOS300 to GEOSUnionCascaded, which was
   introduced in GEOS 3.1.0
Enable WKT/WKB Reader/Writer GEOS API (#63)

- New classes in geos.py, with persistent objects in geos.lgeos
- Use __del__() methods for classes that need to be cleaned up
- Move atexit register to a decorator at the bottom
- Writers implement get/set properties, where appropriate
- Use a different defaults for WKT Writer for GEOS 3.3.0 and up, to
  output 3 dimensions and trim extra decimals
- Set WKB Writer to have default output dimensions of 3 (#64)
- Deprecate older To/From WKT/WKB functions in geometry.base, particularly:
  - geom_from_wkt(data)
  - geom_to_wkt(ob)
  - geom_from_wkb(data)
  - geom_to_wkb(ob)
  - to_wkb(self)
  - to_wkt(self)
 - Keeping deserialize_wkb(data) for now, since I can't figure out how
   to avoid circular imports using the reader; only used for 'EMPTY'
 - Geometry objects now have a 'wkb_hex' property, for convenience
 - Test suites run using older WKT formatting, so these don't need to
   be modified; all tests appear to pass
More updates to 1.3.0 version

 - Bump the version to 1.3.0
 - Python 3 updates for the message handler, and show messages if started
   with all warnings on, i.e.: python -W all
 - WK[TB][Reader|Writer] classes:
   - move properties to top, and more elegant handling of
     reader default options
   - add keyword **settings to __init__
   - limit setting unsupported (or misnamed) attributes
 - WKB [load|dump]s? now has a 'hex' argument (default: False) to
   read/write (load/dump) either a byte string or hex-encoded string
 - WK[TB] dumps? now have 'settings' keyword parameters, passed to writers
Merge branch 'master' of git://github.com/sgillies/shapely into v13

Conflicts:
	CHANGES.txt
	shapely/ctypes_declarations.py
	shapely/geometry/__init__.py
	shapely/geometry/base.py
	shapely/geos.py
	shapely/impl.py
	shapely/tests/__init__.py

Conflicts were manually merged, so it would be wise to review that I didn't
bugger anything up.
Mostly tests: clean-up deprecation warnings and apply PEP8 style

 - Find PendingDeprecationWarning (using `python -W all setup.py test`),
   and review with the following substitutions:
   - failIf -> assertFalse
   - failUnless -> assertTrue
   - failUnlessEqual -> assertEqual
   - failUnlessAlmostEqual -> assertAlmostEqual
 - Complete a few `unittest.TestLoader()` -> `loader` aliases in tests
 - use pep8 utility on tests to identify and correct for PEP8: "Style Guide
   for Python Code"
 - Add GEOS version and speedups status at top of tests, since this is
   useful info to see
 - setup.py test now returns a bad (non-zero) exit code for failed tests,
   which is crucial for TravisCI

Other fixes (than from tests):
 - Fix a few `geom.to_wkt()` to using the `geom.wkt` property (and
   the equivalent for wkb)
 - Deprecate shapely.iterops.geos_from_geometry(geom) (appears redundant
   and is without documentation)
 - Correct several ResourceWarning from setup.py, using "with" statements
 - Remove setup.cfg, since it doesn't do anything (right now)
Merge branch 'master' of https://github.com/Toblerity/Shapely into v13

Conflicts with manual merges:
	CHANGES.txt
	setup.py
	shapely/geometry/__init__.py
	shapely/geometry/base.py
	shapely/tests/__init__.py

Furthermore, apply more PEP8 styling to shapely/geometry/base.py, and
convert old-style getter/setter properties to decorator-style available
since Python 2.6. For BaseGeometry, these property changes are:
 - _get_geom/_set_geom -> _geom
 - geom_type is a regular property that returns self.geometryType()
Allow tests to work on different versions of Python and GEOS
 - Add distutils as a fail-safe if setuptools is not available
 - For Python 2.6, require unittest2 to use modern unittest features,
   and with each test modules use `from . import unittest` to use it
 - Use `@unittest.skipIf` rather than `if` blocks to skip tests
   - Prepared geometries require GEOS 3.1.0
   - Linear referencing requires GEOS 3.2.0
   - Unary union requires GEOS 3.3.0
   - ndarrays requires Numpy (I can't do anything with the .txt tests!)
   - Speedups require them to be available (via Cython)
 - Update a few deprecated methods like failUnlessAlmostEqual
 - Several other misc PEP8 in geos.py