Added spec tests for file exec

1. Added spec tests for file exec
2. Fixed bugs found by spec tests
Optimized the implementation of getParent, and changed the directory entry's name from "Documents" to "workspace"
Rename file-workspace.tests.js to file.xface.tests.js
[doing-183]Added xface auto tests for file plugin