Square, which helps businesses manage credit-card payments, filed for initial public offering with the SEC.