Update models (actor, writer, director)

Add constraint unique on name/title
Update Movie model
Fix import_db()
Use json.dumps() for building response
Use many-to-many relationship for Actor / Movie
Rewrite actors API
Clean
Go DRY
Rewrite movies API