Fix size option for ldap.search method

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix test for ldap.search return codes

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Remove unnecessary assert in ldap.search return code test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Avoid using magic number in ldap.search

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Avoid magic number in success case of ldap search

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Add additional integration test for ldap.search with result

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix test_search_with_size case

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge pull request #140 from randx/fix-size-option-in-search

Fix size option for ldap.search method