Spacing to the query in install_textpack().

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5414 2fea6a4d-a838-0410-917b-93a53c48e9d2
install_textpack() takes into account database write errors.

Doesn't report failed inserts and updates as successful,
but counts only successful tries.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5415 2fea6a4d-a838-0410-917b-93a53c48e9d2