Made splits deprecated in JavaRDDLike

The jira for the issue can be found at: https://issues.apache.org/jira/browse/SPARK-2061
Most of spark has used over to consistently using `partitions` instead of `splits`. We should do likewise and add a `partitions` method to JavaRDDLike and have `splits` just call that. We should also go through all cases where other API's (e.g. Python) call `splits` and we should change those to use the newer API.

@rxin actually I don't think we should deprecate things inside of bug fix releases (people shouldn't get compile warnings for upgrading to a fix release). So this should be deprecated since `1.1.0`.