Well-posedness and global existence for the Novikov equation