Bug! unable to upload when in edit mode

Relative URL problem
Fixed bug with destination country selection

Now it's correctly selected when editing a postcard.

Also moved DAO/Base out of Giulia's folder, it's generic enough.
Use the right api host based on current mode

Also enabled CSS.
Add api_host config in the stash
Show the id of the postcard just created

Pass some config in the js scripts.