Add aggregator

I removed the rake task for extracting asset lines and moved it to a
shell script. This makes it easier to invoke from tests. It was not a
good fit for a rake task anyway.