Add --shareLibPath to scan and load share YUI libraries

Main changes:
1. Add --shareLibPath
2. Add CookieUtil as arrow built-in share library
3. Unit Test, Functional Test, and Cookbook documents have also been updated