add OSX support.

Signed-off-by: Sean Ogden <positivelyskewed.sf@gmail.com>
Fix e includes
Backwards compatible with 0.1.1 and 0.1.0
Merge branch 'osx' of git://github.com/seanogden/Replicant

* 'osx' of git://github.com/seanogden/Replicant:
  add OSX support.

Conflicts:
	configure.ac
Conditionally include memstream
Remove -no-install