brookrt.lpk                : add BrookTemplateAction

core/brooktemplateaction.pp: base class for template-based actions
demos/simple/template/     : example use of BrookTemplateAction
packages/brookrt.pas       : follows brookrt.lpk changes
test suite fix

Test suite fails to compile on Windows 8 Lazarus 1.1 r40379 FPC 2.6.1
i386-win32-win32/win64

testbrookhttputils.pas(119,42) Error: Call by var for arg no. 1 has to
match exactly: Got "TJSONArray" expected "TJSONObject"

Commit 0655e94709a8c5f78ffb4cb84ea57ea1a351bd96 removed
BrookHttpRequest(var AData: TJSONArray; ...)

Pull request updates test suite to accept TJSONObject instead.