new REST API requires the exports in caps
I noticed I was getting results when I had set pageLength to 0 (used in PojoRepositoryImpl.count()).  That's a bug fixed by this change.
fix #168--allow javascript resource extensions and set content-type accordingly