Merge pull request #1375 from sjinks/scan-build

Fix bugs found by valgrind and static code analysers
Fix #1379
Fix #1377
(cherry picked from commit a9e7ba23fb02ed8ee51073167914769c7612cf23)
Merge pull request #76 from sjinks/issue-1379

Fix #1379
Fix #1379
Merge pull request #1381 from sjinks/issue-1379

Fix #1379
Merge pull request #1382 from sjinks/issue-1377

[1.3.0] Fix #1377
Merge pull request #1383 from dreamsxin/view

Fix #1379
Fix #706 add method addAt for \Phalcon\Forms\Form
Replace Phalcon\Tag::
Merge \Phalcon\Forms\Form::addAt to \Phalcon\Forms\Form::add
Finally fix #1379
Merge pull request #1386 from dreamsxin/form

Fix #706 add method addAt for \Phalcon\Forms\Form
Merge pull request #1387 from xboston/patch-1

Replace Phalcon\Tag::
Merge pull request #1389 from sjinks/issue-1379

Fix #1379 completely
#1379: fix memory leaks on exceptions
Merge pull request #1390 from sjinks/issue-1379

[1379] Fix memory leaks on exceptions
Fix #1352
Test case for #1392

(cherry picked from commit 2a6bf5ac8e52dde64d8214a643fbbd0257f11cbb)
Fix #1392

(cherry picked from commit 1d40665d42e291f98f84de29bd7b8d0660200f4a)