Switch to Foundation 5

There's a lot of work that's gone into this on my master branch, but it's an orphan branch, so I can't make a pull request :( Some one would need to check out my master and push it to the jboss-developer repo as I don't have commit rights to it.