Add opening/saving of scripts

Change-Id: Id392f858f32c1bcaac6836542ca2879d3fe7b1cd
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>