I'm considering doing this to mine... Although I am thinking of using a Nissan, or similar, keyfob - then detect that the key is on the person riding the bike to be able to start it - button start / stop with limit on how long ignition / starter can try with automatic lockout if in gear. Lock / Unlock for the steering lock, maybe an brake disc lock, and truck to pop the seat. All of these features wouldn't be overly difficult to implement or code, properly.
I would be interested in seeing how you've done it. I'm only in the design phase, and have been for quite a long time ( injury from car accident which left me internally decapitated and a broken back... I wasn't on a motorcycle either - in a car, slow speed by instant stop == 100% of all energy went through me because of no crumple and my framerail hitting their axle, going through the axle with no crumple, then to a CURB where the other wheel was directly against. perfect storm for injury - I'm still fighting it and still trying to get benefits from the state since 2012, happened in 2011, when I knew my life was over ).
I would love to continue my project in person - right now it's been mostly limited to my mind. This would definitely be a fun project to be able to create. I'm also designing an ABS for bikes that don't come with it; have been thinking of it since someone did a test on a bicycle and didn't code everything they could've to make it work better. A lot of people over complicate things involving code when they don't have to and either end up missing the mark, making more work for themselves and getting it or not, or they overcomplicate the entire thing and don't fall back to basics causing them to miss the obvious.
@Tomorokoshi: When people hear about some feature being coded, etc.. they jump to conclusions. The truth is, code / programs aren't 'smart'. It depends entirely on the programmer. The bike won't shut off automatically unless the developer tells the bike to shut off by cutting power to the ON Relay set up for the replacement ignition block. Of course, the relay could fail, and other things could happen - but in code, there is very little chance the dev got something wrong to cause it to shut off.