HBASE-12569 Update scripts to control MaxDirectMemorySize via env vars

Signed-off-by: stack <stack@apache.org>

Conflicts:
	src/main/docbkx/book.xml