Merged fenics-project/dolfin into master
[ParallelRefinement] make use of the C++11 auto keyword
pass Sphere by reference
check SNESGetKSP error code
properly initialize some previously uninitialized data members
initialize some more uninitialized variables
use C++11 initializer list for _snes_ctx
Merged fenics-project/dolfin into master
Merge branch 'master' into coverity-fixes

Conflicts:
	dolfin/fem/DirichletBC.cpp
Small fixes for clang
Corrected order of initializers
Function(f, name='foo') ignored the name.
Add a unit test checking that Function(v, name=whatever) sets the name.
Merge branch 'nschloe/fix-coverity-issues'
Merge branch 'pefarrell/function-constructor-set-name'
Fix some CMake target issues.
Another fix for CMake 3.
Build system updates for CMake 3, including work-around for CMake 3.0.0 bug.

There are some clumsy changes for the demos and tests. The demos and tests havev their own stand-alone CMakeLists.txt file (i.e., that call find_package(DOLFIN)), but DOLFINConfig.cmake includes a CMake generated files that is not ready when the demo directories are added.
Add guard to protect against importing library targets twice.
Merge branch 'master' into chris/ghost-mesh