upgrade gradle to 1.10
add restorePurchases and restoreSubscriptions methods