CMS-1136 InstantTrace Id always written with value 0 on response
Refactoring: moved resolving af logged in user into own method.
CMS-1136 InstantTrace Id always written with value 0 on response
Refactoring: moved resolving of binary data into own method
CMS-1136 InstantTrace Id always written with value 0 on response
Refactoring: exploded method handleRequestInternal into invoking method.
CMS-1136 InstantTrace Id always written with value 0 on response
Refactoring: added finals and removed unused argument in method
CMS-1136 InstantTrace Id always written with value 0 on response
Refactoring: moved tracing of attachment size out of putBinaryOnResponse
CMS-1136 InstantTrace Id always written with value 0 on response
Now all portal request tracing is stopped before anything is written to HttpServletResponse.
This allows PortalRequestTrace.completedNumber to be generated before it's written to response header.
CMS-1142 Upgrade from 4.5.8 to 4.7.1 failes for empty databases

Fixed by assuming that if there are no root, there are no resources to move from db to file.
CMS-1143 Request parameters not included when forwarding to original requested URL after submitting authenticaion for Instant Trace