Added Accounts Listing CGI script.

CGI script to list the accounts for the user's current session. Works in
JSON.

Added accounts struct as well as linked list struct to contain the
accounts themselves to make passing them through functions easier.