Provide MSVC specific definitions for MS_is_nan and MR_is_inf.

runtime/mercury_float.c:
	As above.
Fix a typo.

runtime/mercury_float.c:
	s/_FPCLASS_INF/_FPCLASS_PINF/
Fix a problem with generating the manual pages on Mac OS X.

doc/make_manpage:
	BSD sed has problems with line continuations in some cases.
	Avoid using them where this is an issue.
Fix bug #287: remove configure script dependency on m4

configure.ac:
	Use sed to create the test version of mdbrc rather than
	m4.  (The configure script already assumed the presence
	of sed.)
Replace deprecated function in test.

tests/valid/exists_cast_bug.m:
	Replace version_array.new by version_array.init.
Add a hint about trace count file names.

doc/user_guide.texi:
	Under "Coverage testing", say how trace count files are named by
	default.  This repeats information from the section "Generating
	trace counts" but saves the user (me) from wondering if coverage
	testing actually worked -- trace count files are prefixed with
	"." by default so a simple "ls" won't show them.
Make some cord functions tail recursive.

Make these functions tail recursive:

	cord.list
	cord.rev_list
	cord.cord_list_to_cord
	cord.cord_list_to_list

library/cord.m:
	As above.
Add test case for cords.

Test the recently changed functions more comprehensively:
cord.list, cord.rev_list, cord.cord_list_to_cord, cord.cord_list_to_list.

The existing test_cord.m is deficient, and did not reveal a bug in the
previous implementation of cord.rev_list (the non-tail-recursive one).

tests/hard_coded/Mmakefile:
tests/hard_coded/test_cord2.exp:
tests/hard_coded/test_cord2.m:
        Add test case.
Merge branch 'version-13_05-branch'