Fix warnings in sal-akka-raft

Make sure to add generic arguments to instantiation and do not use
deprecated junit classes.

Change-Id: I0a84c3c20125a00bb262bf4dfce30c77fcaa765d
Signed-off-by: Robert Varga <rovarga@cisco.com>