Stop unconditionally setting the z-index on sync

This causes a bug where hidden widgets set the z-index of the mask
to their own z-index. The mask z-index is anyway correctly set
previously in _uiSetHostVisibleModal.
Fix issue where Router throws when calling `replace()` and not `html5`

Fixes #739
Actually fix the Router#replace() issue in all browsers, including IE

This also makes the test more robust too.
Use counter to prevent multiple resume() fires.
Compare form query with getElementsByTagName results rather than count to accomodate injected form(s).
replace areSame => areEqual because older browsers return a string, as opposed to a number
Merge branch 'modal_zindex_reset_by_hidden_widget_fix' into dev-master
build widget-modality
Remove unnecessary <code> tag

Fixes problem on YUIDoc
Build anim. Doc changes only.
Merge branch 'live-docs' into dev-master
Merge branch 'live-docs' of github.com:yui/yui3 into live-docs
Merge branch 'live-docs' into dev-master
Update Router's change history
Fix link in App Framework's README.md
Merge pull request #766 from ericf/router-replace-non-html5

Fix issue where Router throws when calling `replace()` and not `html5`
Build Router
Move Color out of DOM.
Remove color.js from DOM.
Build DOM and Color.