server: add base for localization support

Add localization entry in the database for the bars.
Add database handler to query bars around a given position.
Add fake localization bar query in protocol.