Fixing uses of AutoPtr in MOOSE for upcoming libmesh refactoring.

This patch does not require a libmesh update to work, it only enforces
proper AutoPtr usage.

Refs #3798.
It is ambiguous to construct a std::unique_ptr with an explicit (NULL) argument.

This is apparently because there is a 'nullptr' constructor for this
class.  Luckily, using the default constructor instead works just fine.

Refs #3799.
DMMOOSE: no need for a solver-specific include. Refs. #3814.
Fixing warnings in examples.

Refs #1777.
Fix warnings in tensor_mechanics.

Refs #1777.
Give MooseEnumBase a virtual destructor.

Refs #1777.
Merge pull request #3799 from jwpeterson/fix_autoptr

Fixing uses of AutoPtr in MOOSE for upcoming libmesh refactoring.
Merge pull request #3821 from jwpeterson/fix_warnings

Fix warnings
Merge pull request #3812 from karpeev/dmlibmesh-compatibility

Restore DMlibMesh compatibility.  Refs. #3814.
Restrict module test
refs #2894