SNESLineSearch CP: simplify control flow for initial dot product

This appeases imprecise -Wmaybe-initialized with gcc-4.8.1 and makes it
clear that max_its=0 is not relevant.

Acked-by: Peter Brune <brune@mcs.anl.gov>
Fix computation of squared-norm in for the bt linesearch in the VIRS snes case
ViennaCL: Fixed required casts to PetscObject when calling PetscLogObject*()
Merge branch 'prbrune/snes-fixvilinesearchnorms' into maint

Conflicts:
	src/snes/linesearch/impls/bt/linesearchbt.c
Merge branch 'placasse/fix-matsetoption-collective' into maint

* placasse/fix-matsetoption-collective:
  MatSetOption not always logically collective.
Merge branch 'jed/fix-viewer-matlab-info' into maint

* jed/fix-viewer-matlab-info:
  Viewer: fix Binary Matlab viewer info to use '#' instead of '%'
parmetis: update tarball to parmetis-4.0.2-p5 which fixes an install issue with cygwin
Merge branch 'maint'
Merge branch 'karlrupp/fix-viennacl-petscobject-cast'
fix citation 'Golub_Varga_1961'
Merge branch 'master' of bitbucket.org:petsc/petsc
Merge commit 'ORIG_HEAD'

Fix racy merge

* commit 'ORIG_HEAD':
  fix citation 'Golub_Varga_1961'
parms: update tarball with fix for namespace conflict with metis
Merge branch 'maint'
Merge branch 'jed/snes-linesearch-warning'

* jed/snes-linesearch-warning:
  SNESLineSearch CP: simplify control flow for initial dot product
Mat: Should say that it has a nullspace in MatView()
Sys: add PetscDataTypeFromString() and test code
doc: fix named argument in {Vec,Mat,DM}ViewFromOptions
AO: fix erroneous processing of -ao_view and factor into AOViewFromOptions

AOCreate was calling -ao_view before ao->ops->view could be set, causing
SEGV.  Move the dispatch to the convenience creation functions and
consolidate into AOViewFromOptions.

Reported-by: Shao-Ching Huang <huangsc@gmail.com>
Merge branch 'jed/config-openmp-cxx' into maint

* jed/config-openmp-cxx:
  config cmakeboot: add C++ flags any time compiler is available
  config OpenMP: check for C++ flag any time the compiler is available