Fix bug #293: GCC 4.8 and the asm_fast grades.

configure.ac:
     Pass -fno-tree-dominator-opts to GCC 4.8 on x86-64 and x86; gcc labels
     are not working correctly in the presence of that optimisation.

NEWS:
     Announce the above.
Add all_{true,false}/2 and is_empty/1 to array and version_array.

library/array.m:
library/version_array.m:
	Add the above predicates.

NEWS:
	Announce the new predicates.

tests/hard_coded/Mmakefile:
tests/hard_coded/array_all_tf.{m,exp}:
	Test the new predicates.

tests/hard_coded/version_array_test.{m,exp}:
	Extend this test case to cover the new predicates.
Fix overlong lines in the usage message.

compiler/options.m:
	As above.

library/type_desc.m:
	Delete a stray '%' in a comment.
Branches: master, 13.05.

Make the calculator example handle CRLF line endings.

samples/calculator.m;
	As above.
Fix non-compiling code in extras.

extras/monte/rnd.m:
	s/index0_det/det_index0/
Automatically decide the value of --install-command (part 1).

Allow the possibility of the compiler automatically deciding what command(s) to
use to install files and directories instead of using the value of
--install-command (which defaults to "cp").  The eventual intention (NYI) is
that in the absence of a value for --install-command, the compiler will choose
an appropriate command based on the setting of --host-env-type (and possibly
some other stuff, for the example the OS version).

The rationale for all this to try to improve the current situation on Windows
(in the absence of Cygwin or MSYS) where file copying is a bit of a mess.  It
should also mean that the same Mercury installation can be more easily used
from both MSYS and cmd.exe.

NOTE: for the moment --install-command is still specified in Mercury.config.
This will be removed in a later change and the compiler will default to
choosing automatically.

compiler/globals.m:
	Add a type whose values describe how we should install files and
	directories.

	Add a field of that type, file_install_cmd, to the globals structure.

	Add access predicates.

compiler/handle_options.m:
	Set the new field in the globals.

compiler/file_util.m:
	Provide functions for constructing a command line for installing files
	and directories based on the value of the file_install_cmd field in
	the globals.

compiler/make.program_target.m:
compiler/module_cmds.m:
	Use the new functions in file_util.m.
Fix a problem with the erlang grade on Windows.

m4/mercury.m4:
	Only keep the basename of ERLC and ERL if their initial values
	are qualified with directories whose names contains spaces.  This
	avoids build problems on Windows.  (We do the same thing for the
	Java tools.)
Merge branch 'version-13_05-branch'
Add map.det_{min,max}_key/1.

library/map.m:
    As above.

NEWS:
    Announce the new functions.
Fix a NEWS entry.

NEWS:
   As above.
Fix an error in the usage message.

compiler/options.m;
    Delete a duplicated word in the description of the trail grade component.
    Also, mention that the Erlang backend does not support trailing.
Use a shallow copy for version_hash_table.copy

The code here was written ambiguously and one could not see at a glace if a
shallow or deep copy was being used, a shallow copy was always intended.
The deep copy of a version_array is unsupported on C backends and
unnecessary slow on any other backend.

librar/version_hash_table.m:
    Use the version_array.copy function (which is shallow) and make it clear
    by module qualifying the call.
Merge branch 'version-13_05-branch'
Merge branch 'version-13_05-branch'