Pass the path from the command line into update_manifest.

Until acbcad1cb71c6eebd2a63c5cf16ea7f366812f48, update_manifest directly
accessed the global 'opts' variable; this passes the path through the
arguments instead.
Merge pull request #1163 from Ms2ger/manifest-opts

Pass the path from the command line into update_manifest.
Add a test for the Document constructor.
Add check for the primary interface.
Test that the Document constructor returns an XML document.
Test the URL parser's encoding override with the Document constructor.
Don't use utf-8 in Document-constructor.html.
Merge pull request #391 from Ms2ger/Document-constructor

Add a test for the Document constructor; r=zcorpan
Remove a duplicated definition of HTMLScriptElement.
Merge pull request #1165 from Ms2ger/html-interfaces

Remove a duplicated definition of HTMLScriptElement.
Refine form constraints tests

1. Refine run_test() function
2. Update test_checkValidity() and test_reportValidity()
3. Update test data for the checkValidity and reportValidity methods
4. Update set_conditions() function to reset test environment
5. Refine the validate tests to avoid the runtime error and etc

Signed-off-by: xiaojunwu <xiaojunx.a.wu@intel.com>