added print view and permission count per page
Merge branch 'dev'

Basically print-view for the building block.
Refactor print view, fix for Chrome.

Print view wasn't working in Chrome though it worked fine in Firefox. It
looks like it has something to do with the javascript opening a new
window and writing to it. So I removed that part and replaced it with a
form submit system like the file filters. The print view form has the
same params that the javascript used in its ajax request, it submits to
printView.jsp, the form has _top as the target, which means that the
entire page the user was on gets replaced by the print view instead of
popping open a new window.

The too many files warning message used to appear when there are more
than 100 files. Now that we've had some performance increases, I've
increased it to 1000 files.

Note that the print view has a lower limit of 500 for the too many files
warning. The print view needs to retrieve the properties of every single
file whereas the regular view only needs to retrieve them for just a
single page. So the print view is very much slower than the regular
view.
Update servlet api lib, add jsp api.

We can use servlet api 2.5 since the current BBL instance runs Tomcat6.

Also add the jsp api as I'll be using it later.
Remove server side webservice call.

When updating the copyright alerts building block, it was performing an
webservice call to the copyright alerts building block on the server
side. I just remembered previously that this was a concern for server
side performance. I've now moved it into the client side so that the
user's browser is the one that issues the request.

I've also increased the update call's performance by making sure that
only files that haven't previously been tagged will be sent out.

Note that I've forced the the ajax call to be synchronus in order to
ensure that the call is made. I've also assumed that the call will be
successful. If it fails, no error is shown to the user. I couldn't find
an easy way to call BB API's error mechanism from the JSP side. If I do
need to show an error, it won't match in style with the other errors
that this building block throws.