More hacking to get the template to detect and build

Change-Id: Ifa945dedfcd70a571171fb156d5eaad37e1d761c
Fix mis-use of fabs in LAPACK

clang-3.5 warns that fabs is not the right approach.

Change-Id: Ib7125fcad2f4fda99abf7b67f296f24d84cb34be
(cherry picked from commit d9c0e416e180cdd7e0a158d8d9b9e1fe59ef89b7)
Fixed sc_power==48 crash in single precision

A few summation variables in the free energy kernel
need to be double to avoid overflows for 48th power
softcore interactions.

Fixes #1580.

Change-Id: I3263e9eb83515ebaf9f6c04fd0e57ae179933d4e
Fix MingW build

Change-Id: Id6025838e274305266f0f90eda2ddbb48355d792
cmake: missing quote

Found on my old MacBook, where CMAKE_BUILD_TYPE is empty by default.

Change-Id: Icf63666f4b4c3f18214ba091819b0238d7f4a225
K-computer specific modifications

This commit implements most of the K-computer-
specific changes for Gromacs-5.0. The HPC-ACE
SIMD module has been added since we need the
exponentials for LJPME, and there are also some
fixes to the LJPME nonbonded accelerated group
kernels that prevented them from compiling.
The SIMD unit tests have been modified to avoid
making assumptions about the internal storage
being single or double, since HPC-ACE only
supports double. The toolchain files have
been updated and moved to the platform subdir,
and we now have a separate module to handle
Gromacs-specific flags and settings for K.

Change-Id: I5b832809b5dd52ef4b72f6cd41b1b3da1c036a57
Merge release-5-0 into master

Conflicts:
	CMakeLists.txt
		trivial
	share/template/cmake/FindGROMACS.cmakein
		deleted in master
	src/gromacs/utility/gmx_header_config_gen.h.cmakein
		applied to src/gromacs/utility/gmx_header_config.h
	src/gromacs/commandline/pargs.cpp
		applied to src/gromacs/commandline/cmdlinemodulemanager.cpp
	src/gromacs/gmxlib/gmx_thread_affinity.c
		trivial
	src/gromacs/gmxlib/main.cpp
		applied to src/gromacs/utility/basenetwork.cpp
	src/gromacs/gmxlib/nonbonded/nb_kernel_sparc64_hpc_ace_double/*.c
		Merged the template and rerun the generator
	src/gromacs/gmxlib/nonbonded/nb_kernel_sparc64_hpc_ace_double/nb_kernel_template_sparc64_hpc_ace_double.pre
		trivial
	src/gromacs/utility/futil.cpp
		change unnecessary (function deleted)
Other changes:
	src/gromacs/fileio/vmdio.c
		removed duplicate config.h

Change-Id: Ib4237944773e41d7b52e8c0ee181da717d2b26f3
Merge "Merge release-5-0 into master"