New Jersey began allowing Internet gambling on Tuesday in a much-watched bet that there are untapped sources of revenue on bedside iPads and cubicle desktops, and even among people checking their phones while they wait in line for coffee.