IDE ImportDlg's option to include files now works (Thanks Juha Maninnen) :
  * Flag ofRevert is not needed. File is not added to project if already there.
  * Invalidate file cache after generating a Pascal file.
 Prevents error when opening it. Works also with older Lazarus versions.

git-svn-id: http://svn.code.sf.net/p/lazarus-ccr/svn@3200 8e941d3f-bd1b-0410-a28a-d453659cc2b4