Change datatype of jquery request, update mdapi URL
Pagure expected javascript but mdapi returned json which
caused a type mismatch when accessing packages in the
/rpms/ namespace.
The URL of the mdapi server pointed to an old redirect.
Related: https://teams.fedoraproject.org/project/community-fire-team/us/14
Signed-off-by: Karsten Hopp <karsten@redhat.com>