Minor PHP CodeSniffer fixes

Modified from https://github.com/croogo/croogo/pull/177
This patch pulls in the obvious ones to minimize potential
regression

Signed-off-by: Rachman Chavik <rchavik@xintesa.com>
Fix: Invalid URLs generated when running under a subdir

Closes #400
Revert "Fixed Issue with BBcodes not Rending"

This reverts commit 3d2c1777ba75df9d5e9c58efc41038bb0e92b9cd.
This commit was accidentally included when I pulled #166 when I
meant #167.
Set the standard JSON content type for a wider compatibility

Since the "application/json" type is the default one used in CakePHP core and accepted in a RFC4627
Taxonomy: Lost Comment settings when editing Types

Closes #406
Nodes: Incorrect test data format
Nodes: Add missing echo
Upgrade submodule to croogo/locale@fe7ac3580d2
Updating AUTHORS.txt for release 1.5.3
Updating VERSION.txt for release 1.5.3
Fix infinite loop in CakeErrorController due to NotFoundException

Resolution proposed by rchavik and tested by myself to problem I
reported in IRC where NotFoundException thrown in
Comments::CommentModel::isValidLevel() was resulting in a PHP loop which
failed when memory_limit or max_nesting were exceeded.
Fix for block's visibility paths when working under subdirectory.

Closes #413

Signed-off-by: Rachman Chavik <rchavik@xintesa.com>
Acl: BC fix for cake < 2.1 from upstream

see: markstory/acl_extras@ad33b16ec8a4b53594c613048c38b08df2915ce4
Fix: Wrong case + package for ComponentCollection

The incorrect package was causing weird failures in tests with not being
able to find the ComponentCollection class.
Fix view form admin Tabs

Inserted Admin tabs are displayed under News
There is a BOM at the start of this file. Removed it.

The BOM "efbbbf" cost me 60 secs to load this file.
Fix: Leftover config keys

Reported-By: Marco Strijker
Ref: http://thread.gmane.org/gmane.comp.cms.croogo/137
Update Twitter Bootstrap repo location
Fix: Public menu items are not shown

Public users have no Auth.User data in session. Instead, reuse the value
from CroogoComponent::roleId initialized in CroogoComponent::startup().

Reported-by: sebastian
Ref: http://thread.gmane.org/gmane.comp.cms.croogo/168
Fix password generation when adding Admin from Install CLI.

Cherrypicked from croogo/croogo@a04afd1ffa44c6.

The issue seem to be caused by 34906ced29.  Since the dynamic AppModel is
removed from the class registry, the actual Users.User is loaded causing
double hashing on the password in User::beforeSave()