fix some garbage / never used values, add infinity
revert definition of QL_INFINITY (which may be misleading if has_infinity() is false), replace minus infinity by minus maximum real for log 0 (what really matters is only to have a defined value here)
Merge pull request #173.