sync with pyrap trunk
add license
remove building of libpyrap
fix find/replace error
fix travis build issue