The French Riviera city of Nice is pilot-testing a mobile phone app that will allow people to record and report crimes to local police in a matter of seconds.