Generalize CartoDB username extraction, allowing for multiuser setups

Closes #100