Added templates for int- and long-based vectors to Spout Math.
Also, fixed some tests of float- and double-based vectors.

Signed-off-by: Wolf480pl <wolf480@interia.pl>
Merge pull request #2262 from Wolf480pl/template

Added templates for int- and long-based vectors to Spout Math.