Fix ProfilerStatementWrapper usage in ProfilerConnectionWrapper

250c4ab changed how `StatementWrapper` should be instantiated in `ConnectionWrapper`. The change was not carried over to `ProfilerConnectionWrapper`, so any project using that class would break.

For consistency I've changed `query()` to also return a `ProfilerStatementWrapper` object, and removed the unused arguments in `log()`.

On an unrelated note, I've added an ORDER BY to the query in `OnDemandFormatterTest::testFormatALotOfResults`, otherwise the test fails intermittently if the order of results is not guaranteed: https://travis-ci.org/gigablah/Propel2/jobs/10479314