Close #117
Added table prefix in buildQuery model method
Close #117
Added table prefix in buildQuery model method
Merge remote-tracking branch 'origin/feature/117-fix-buildquery' into development

Conflicts:
	fof/model/model.php
WTF is going on with my merge tool?!?!?!
FOFController fixes

If saving a new item fails the redirect to the edit page with id=0 results in a redirection to the list view. Fixed to use the add task instead.

Bad formatting in redirection when an error occurs in applysave()
FOFController::getView caching not really compatible with HMVC

Due to the use of a static variable in getView you'd always end up with the same view object, no matter if you changed the config.
Removing extraneous line
Missing third parameter in FOFPlatform::setErrorHandling
Fixes gh-119
gh-119 Missing stuff
Fixed gh-120

The renderer default to Joomla! 3 native toolbar links under Joomla! 3 when Akeeba Strapper is not used
removed a probably unnecessary div and moved hidden inputs to the end of the form

a) The Joomla3 renderer enclose the output in a div with a class joomla-version-VERSIONNUMBER these div adds a gab between the button bar and the data area. (GAP1:red)
b) When the hidden input fields are at the beginning of the form the div class="span2" is not longer the first child and then the normal left padding isn't set to 0. (GAP2:green)

for details see http://d.pr/i/7DNO
copied one line to much
Update fof-guide.xml

Fix minor typos in TABLE and VIEW sections.
Merge pull request #121 from rdeutz/gap-joomla3

removed a probably unnecessary div and moved hidden inputs to the end of...
Merge pull request #122 from zanardigit/development

Update fof-guide.xml
Re-sync submenu for categories view

When you integrate categories in your component you don't have the link bar from your component when you are on a category view like banner for example. The Categories Extension calls a function ExtensionName::addSubmenu so you could do it the old way and add the items here but then you are out of sync with your Submenu definition. This patch add a function renderCategoryLinkbar to the Render that re-sync the toolbar
Use passed model instead of grabbing it from the form
Merge pull request #123 from rdeutz/category-linkbar

Re-sync submenu for categories view
#123
Need to make the renderSubmenu public, since it will be called from the strapper directly