Adding Missing Spring 4 Cache Method

Spring 4 adds a method with signature:
public <T> T get(Object key, Class<T> type)
Generic Error internal data changed
Fixed possbile NPE; PartitionService.getPartitionOwner(pid) may return null.
Merge pull request #1628 from kjordan2001/patch-1

Adding Missing Spring 4 Cache Method
Merge pull request #1665 from asimarslan/feature/master/genericerror

Generic Error internal data changed
Cleanup in TestApp
Merge branch 'master' of https://github.com/hazelcast/hazelcast
Merge pull request #1666 from mdogan/fix/3.2/mapreduce-npe

Fixed possbile NPE; PartitionService.getPartitionOwner(pid) may return null.