Add package name configurable for Java templates

Change-Id: I756cd20bfa577155705461dbeed76321e83dcb58