Merge and bugfix, make unrecognized options in BUILD file as error
Fix test for cu_targets
Add resource library example