Added API for getting lat/lon of a certain milestone on a certain line, better database debugging, some minor edits