Added next and previous match smart box

Now you can add a smart box with a short code and pass a Team-object in
to see the next and previous match for that team. Also made som fix in
java conserning matches.
Merge branch 'master' of github.com:oysteigr/Fremad