With spectacular views across the Scottish countryside, the home of the Dalyells boasts 400 years of fascinating family history.