Revert "Remove 5.2 from the travis build-list, it doesn't work with namespaces"

This reverts commit 84b0e509488e8a766653a88a6479d276c6f36c9b.
Revert "Remove failing tests, inline foreach/if not tested in cake either"

This reverts commit ae15d9da97c055ce70fd6f20d6ca71aa69e4c92d.