#243 a few fixes for the hreflang

Changed 'jp' to 'ja' for the Japanese language.
Check if there's no extra slash in URL and strip it if there is one.
#403 Created a custom shell for i18n

Cf.
http://book.cakephp.org/1.3/en/The-Manual/Developing-with-CakePHP/The-CakePHP-Console.html

From now on, to extract the POT, we'll have to run "cake tatoi18n"
instead of "cake i18n".
Moved phpcs.sh into tools
#403 Removed the tools/console folder.
Merge remote-tracking branch 'origin/master' into cakephp1.3