Fix C++11 support when compiling with GCC. Closes #12.

Add the '-std=c++0x' or '-std=c++11' CXX flag to GCC compiler according to its
version.
Enable C++11 flag only for GCC >= 4.7.
Rename platform_definitions.h to platform_defintions.hpp for consistency
Add nd::view function, with ability to view between strided/fixed dims
Add a .clang-format file for formatting code
Build fix for linux
Merge pull request #15 from mwiebe/ndview

Add nd::view function, with ability to view between strided/fixed dims
Fix git describe command (git appears to have changed something)
Add an error when reducing a zero-sized dimension with no identity
Make the git describe debug line better
Handle the zero-dimensional reduction case
Call the tests with valgrind in .travis.yml
Install valgrind, also run the tests without first in .travis.yml
No --track-origins in travisci valgrind
Fix mismatched new/delete mechanism found by valgrind
Add an error exit code to valgrind call, so errors trigger a failure
Merge pull request #16 from mwiebe/valgrind_travisci

Call the tests with valgrind in .travis.yml
Add test of lifting a reduction to a scalar (basically a no-op base case)
Fill in implementation for reduction_identity processing
Tweak reduction_identity validation in reduction ckernel lifting