upadte #407:
 - add cmake file for NLOpt (optional)
 - add example to check that everything is ok

@MSPRENG @vincentchabannes we should be able to use that very soon
the small testsuite example works ok