Lint lib files

Only one I was unsure of was the app.build. It looks like a closure that
would get concated onto the end of a file as it is butild, but there
doesn't seem to be any refrences to it.
Merge pull request #863 from nschonni/cleanup-libs

Lint lib files