is_protected constraint added.
test added for is_protected constraint.
fname parameter overrides "url.fname" parameter.
fixed bug in add_plugout, no plugin was actually installed.
url parameters(catalog,wid,fname) take precedence over upload parameters in util.parse_url function.
Added test for new plugin rewrite_id.
fixed test count un module exported function expect.
refactored init function, added code blocks for collection constraints and plugins.