[SPARK-1981] Add AWS Kinesis streaming support

Just like the comment in JavaKinesisWordCount, please make the batch duration constant, 2 seconds, and other intervals constant as well.