Fixed remove bugs

I added a ScriptTableViewControllerDelegate class and set the delegate
to PBStatus so it can handle updating the statusitem when the array
scripts is modified. Its not very intelligent, its just removed all
scripts and calls prepopulate again.
10.9 Support

[NSURL absoluteString] no longer includes "localhost", so I added a
check to change behavior based on operating systems.