Finish some method 1.3.0 to 2.0.0

`Phalcon\Http\Request::getBasicAuth`
`Phalcon\Http\Request::getDigestAuth`
`Phalcon\Assets\Collection::setTargetLocal`
`Phalcon\Mvc\Model::selectWriteConnection`

```error
/home/travis/build/dreamsxin/cphalcon/ext/phalcon/logger/adapter/file.c: In function ‘zim_Phalcon_Logger_Adapter_File_logInternal’:

/home/travis/build/dreamsxin/cphalcon/ext/phalcon/logger/adapter/file.c:202:2: error: too few arguments to function ‘zephir_fwrite’

./kernel/file.h:38:6: note: declared here

make: *** [phalcon/logger/adapter/file.lo] Error 1

make: *** Waiting for unfinished jobs....
```