Shane Lowry scored the lowest ever round on Royal Portrush's new course to take a four-shot lead going into Sunday's final round at The Open.