Ferromagnetism and superconductivity in twisted double bilayer graphene