Spark-2447 : Spark on HBase

Add common solution for sending upsert actions to HBase (put, deletes,
and increment)

This is the first pull request: mainly to test the review process, but there are still a number of things that I plan to add this week.

1. Clean up the pom file
2. Add unit tests for the HConnectionStaticCache

If I have time I will also add the following:
1. Support for Java
2. Additional unit tests for Java
3. Additional unit tests for Spark Streaming
Please take a look at other the scala docs of RDD transformation to understand the style. For example, a better way to explain this method would be to do the following. 
`Applies a function on each partition of the given RDD using a HBase connection`.