Database overhaul

Fixed jQuery Mobile rendering problems, added server->client JSON transfer, added rendering for pick_n and slider type questions.