more analysis_controller tests; fix library paged api error (see #128); fix site json structure closes #135