Boston will soon require third-party delivery apps to apply for new permits and prove all their drivers have liability insurance.