Read and write from customResultText.txt

Also added buttons to insert variables placeholders while editing
customResultText in NSPopover.
Merge branch 'develop'