Created by: backyes
more robust cmake for swig
- add version control while looking for swig with cmake, otherwise, some unreadable error comes.
The BUG is related with: https://github.com/baidu/Paddle/issues/259
@reyoung Please do some code review.
@wangkuiyi You can determine if this PR should be merged into milestone 0.8.1.