Fixed falling ExplainAdminCommandTest test on php 5.3, fixed missing metadata mock, fixed EOL difference.
Merge pull request #1616 from pulzarraider/explain_admin_command_test_fix

Fixed falling ExplainAdminCommandTest test on php 5.3, fixed missing metadata mock, fixed EOL difference.