Added a capability to specify a foreign key.
Fixed saving of dart2jsPath.
Moved loading of all dart scripts to the end of page.