self referencing foreign key for chart forks
fixes warning messages in migration script
use self ref foreign key for fork action

also fixed _api_obj related apis. it should return something
add a /me api for debug