Issue title: FCL(runtime) and LCL(designtime)
 Issue body: Hello,

Please see this patch:

http://bugs.freepascal.org/file_download.php?file_id=18672&type=bug (issued on: http://bugs.freepascal.org/view.php?id=24855)

It separates core (FCL) of IDE (LCL), turning PS compatible with non-LCL projects too (like console or CGI/fastCGI apps).

Thank you!

 Comments: 
 Comment 0: Please apply this small clean up in the FCL package:

http://www.sendspace.com/file/zsibsy

{'source': 'GithubIssues', 'repo_name_with_owner': 'remobjects/pascalscript', 'issue_id': 18063027, 'repo_stars': 385.0}