Add compile/run check for std::array

Add a simple test program to include array header and create some
arrays, checking their size. Add a call to cxx11_check_feature for
this test, setting the variable HAS_CXX11_ARRAY to indicate support.

Remove now redundant top level check for array header only.