Adults in Massachusetts would be able to bet on professional and Division I college sports in person and through web or mobile apps under legislation on the move.