Fixes a bug in statuses when sending a message containing links

When sending a message, length is calculated to fit in a single tweet.
When sending a message with links in it, message length was calculated with unshortened links while Twitter shortens links to 21 characters. This would cut the message too early.
Adds static cache to statuses
adds date format

Japanes a popular date fromat "yaer/month/day".
fixs atom lang.

default lang="en" . Get General setting Language value
Merge pull request #202 from mukaer/adds_date_format

Adds Japanese date format.

This field starts to be way complicated. I'll refactor it by letting people to chose how they want their date to look like, but this one will be OK for now.
Merge pull request #203 from mukaer/fixs_atom_lang

Fixes atom lang.
Preview crashes when the theme sanitizes a missing page_title.
Adds a meta viewport so the layout would act nicely to mobile devices.

This is not making Publify a real mobile friendly app, but at least it makes it useable on iPhone / Android phones which is a first step.
Fixes hcard on statuses links.
Adds some UI to fill in Twitter credential.

I need to code the whole user path here, but I first want something I can use:

* Proper link to create the application on Twitter from the settings/write and status/new
* A good setup text to explain what to do
* The good "add Twitter" link to get the oauth credentials

To be honnest, this is not really on the top of my TODO :-)
Adds an option to use a custom domain for URL shortening

You may want to pick up a significant domain name for your blog (like my-shiny-weblog.com), but use a different domain for URL shortening, like shi.ny.

Note: when they open the .ny TLD, I want the knightswhosay.ny domain.
Fixes a bug on the statuses order (hint: a status is currently always published)
Update dependency on rspec-rails
Fix some Ruby syntax warnings
Remove debugging code
Fix deprecation warnings
Fix schema
Remove old schemas and other unused cruft from db/
Using Bootstrap layout for categories, articles types and redirects instead of custom CSS rules that bring nothing and break on mobile devices.
Merge branch 'master' of github.com:fdv/publify