replace endftod with fortran function
Add gfortran library and warning
Add doxy compatible docstrings
add fast version back with ability to switch
Use C binding double spec
use C_CHAR character type
revert to gcc 4.2.1 compatible types
add project type to link libraries correctly

courtesy of http://www.kitware.com/blog/home/post/231
Merge pull request #518 from crbates/fendftod

replace endftod with fortran function