update gradle, fix some bugs

Change-Id: I85cb1986e1a8f857ecfb70b1ad62d67f06307263
toggle menu in onActivityCreated

Change-Id: I217ac5487f8652398f59410f5e1dcf434a40fca2
request a larger heap

Change-Id: Ifd4b02f0a4f4480c1de75d9e3450413db3671a96
update license and readme

Change-Id: I06dfdfc709d6dcea04378c55ed3a521d794dd46d