add API endpoint
Merge branch 'master' of github.com:vise890/flickrpedia
add to_json to models