Massachusetts is planning to “democratize the data” behind its public transportation network. It’s providing software developers with all the coding and background data they will need to develop iPhone applications and other high-tech aids incorporating MBTA subway, bus, train and regional transit information. A restaurant owner, for example, could easily add official government data about the location and details of transit stops or bus schedules into a Web site about his business.