MongoMapper refactoring
Added list support to api
Moved Angular dir to where client can reach it

The lib/ dir in our source tree is for server-side libraries only;
client-side Javascript libraries, loaded by the browser, should
live somewhere under src/ because our Apache config makes
src/ the root of the website (via DocumentRoot). Moving
Angular dir accordingly.
Helper lib for JSON-RPC from Angular
Update the sample admin app for the new JS paths
More Javascript path fixes
Make User_list_model return all results

The regex search for email addresses matching "ser" was test code that had accidentally gotten checked in; removing it.
Demo code for calling JSON-RPC API

This demonstrates two ways to call the JSON-RPC API: first
by hand, and then with the helper library I just wrote.
WIP on admin CRUD: Halfway there

The idea of this proof-of-concept is that the <user-data>
directive will eventually be a nice display of all the relevant
data about a user (name, email, and so on). Right now it's
just showing the results of a database query as text.

So far I can get the directive to fire off once when I load the
page, and it's loading the user data correctly via JSON-RPC.
But I can't get the links in the table to update the userid
value that the directive sees. There's something about
scopes that I'm not fully grasping yet; I'm using isolate
scopes, but I want to share a specific name between the
child and parent scopes. Perhaps using routes would be
better for what I'm trying to do...?
Add Zurb Foundation CSS to make forms look nicer

Order of the CSS entries is important; if Foundation comes
after sf.css, it will overwrite some of the designer's choices
and make the front page look bad. But if Foundation comes
before sf.css, then sf.css overwrites some Foundation CSS
and the front page still looks like the designer intended it.
WIP on admin CRUD: Finally working

I spent all day on this yesterday and couldn't figure it out,
but now I finally have this working: clicking on a user email
address (or username, as it will be in the final version) will
update the vars.userid variable. Elsewhere in the page I
have a watch set on vars.userid: when it changes, the new
userid value is used to load a user record from the database.

Next step: putting a nice pretty face on it all.
Refactor to match style of Angular seed app

The seed app has controllers, directives, filters, etc. all in their
own files, which seems like good style. Let's match that.
Rename MyCtrl1 to AdminCtrl
Split user-data template out into separate file

This took way longer than it should have to get working,
because there was an unfortunate interaction between
CodeIgniter and Angular. When I had the partial HTML
file as a file in the same directory as the rest of the app
code, the CodeIgniter controller (which manages anything
with /app in the URL) was taking over to try to render the
/app/admin/partials/userdata.html URL. But the controller
is set to load the header and footer and Javascript (and a
few other things as well), which in turn was causing the
Angular Javascript code to load, which in turn was causing
the userData directive to try to load its partial view. Which loaded /app/admin/partials/userdata.html, which the
CodeIgniter controller took over... and so on and so forth.

So I've moved the partials directory to the root of the src/
tree, which is also the root of htdocs and thus Apache's
DocumentRoot. And our Apache config is set up to check
first if the URL corresponds to a real file, and if so, not to
hand that URL over to CodeIgniter's index.php. So as long
as we tell Angular to load partials from /partials/foo.html
(as an absolute, not relative, URL), we should avoid this
nasty infinite-loop bug.
Make userdata a nice table instead of plain text
Cosmetic change: move templateUrl definition
Make userlist its own partial template file
Use Font Awesome for easy icons

The current edit link is just a demonstration of how easy it
is to add icons to buttons, or anywhere else. This is probably
not the final design I'll settle on.
Pretty up the CRUD forms with Foundation CSS
Make the model code reflect the DB's actual names

We're using username, not userName, as a column in our
database; the model should reflect that spelling.