CDAP-693 Adding the ability to run hive queries on streams.
This includes various changes to make this possible.

Streams are now created when an application is deployed
instead of lazily created when the first event is written to it.
If explore is enabled when a stream is created, an external
hive table is created using a custom HiveStorageHandler for
streams. This required some refactoring around the stream input
format, as our mapreduce code uses the newer mapreduce apis, but
the hive code uses the old mapred apis.
CDAP-693 fix bugs in unit tests and from refactoring of stream
input format.
CDAP-693 add corresponding methods to disable explore on a stream
Merge remote-tracking branch 'origin/develop' into feature/CDAP-693-query-streams
CDAP-693 Make sure hive tables for streams are dropped when an
unrecoverable reset is called.
CDAP-693 changing back to not drop hive tables for streams on
clear and unrecoverable reset since the stream is not actually
deleted, but is just truncated. Instead, change test to just
query table instead of checking for the table first, as it will
fail anyway if the table does not exist.
fix for queries that join streams.
CDAP-693 bug fix to support joins over streams.
CDAP-693 Remove usage of public static booleans in explore tests
that cause side effects to other tests.
Revert "CDAP-693 Remove usage of public static booleans in explore tests"

This reverts commit 474dc859d38a2282bdb62461e98eb6ad06d43ec2.
Merge remote-tracking branch 'origin/develop' into feature/CDAP-693-query-streams

Conflicts:
	cdap-data-fabric/src/main/java/co/cask/cdap/data/stream/StreamInputFormat.java
CDAP-693 remove configurer class in favor of a split finder class,
since the fix for stream joins requires only a stream name in the
job conf.

Also a small unit test fix to prevent order dependency in tests.
missing cast
Limiting log entries in the in memory table to fixed window.
Updated code to process logs in the sliding window fashion.
CDAP-551-PurchaseAppUserProfiles
Updated PurchaseApp with user profile service and test case.
Removed extra line.
Updated documentation to add information about UserProfile service.
Updated code to incorporate review comments.